DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
java convert bytes to string
byte
[
]
bytes
=
"hello"
.
getBytes
(
)
;
String
s
=
new
String
(
bytes
,
StandardCharsets
.
UTF_8
)
;
PREVIOUS
NEXT
Tagged:
#java
#convert
#bytes
#string
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit