public void setData(String hexString) {
        StringBuilder buf = new StringBuilder(hexString.trim());
        
        if(buf.length()%2 != 0) {
            buf.insert(0, "0");
        }
                
        this.data = DatatypeConverter.parseHexBinary(buf.toString());
    }