Is there any way to convert Java String to a byte[] (not the boxed Byte[])?
String
byte[]
Byte[]
In trying this:
System.ou
Try using String.getBytes(). It returns a byte[] representing string data. Example:
String data = "sample data"; byte[] byteData = data.getBytes();