To turn a sub string String into a byte buffer
ByteBuffer bb = ByteBuffer.wrap(myString.substring(0,3).getBytes("UTF-8"));
solved Split string in two parts by length
To turn a sub string String into a byte buffer
ByteBuffer bb = ByteBuffer.wrap(myString.substring(0,3).getBytes("UTF-8"));
solved Split string in two parts by length