I have a problem when I want to sending data using byte format in UDP protocol, the problem is when I try to create a data with type json object, I can\'t get the byte format of
Get the bytes of the string:
obj.toString().getBytes(theCharset);