Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

string to byte array java utf-8

String someText = "text";
byte[] message = someText.getBytes(StandardCharsets.UTF_8);
 
PREVIOUS NEXT
Tagged: #string #byte #array #java
ADD COMMENT
Topic
Name
7+3 =