Answers for "java string to byte array utf8"

0

java string to byte array utf8

String s = "some text here";
byte[] b = s.getBytes(StandardCharsets.UTF_8);
Posted by: Guest on June-23-2020

Code answers related to "java string to byte array utf8"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language