Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

convert byte array to string


byte[] byteArray1 = { 80, 65, 78, 75, 65, 74 };
String str = new String(byteArray1, 0, 3, StandardCharsets.UTF_8);
Source by www.journaldev.com #
 
PREVIOUS NEXT
Tagged: #convert #byte #array #string
ADD COMMENT
Topic
Name
3+4 =