經安全檢測,此網站為安全網站,請放心前往原始網址!

byte[] to String (Java) - Stack Overflow

You can use the String(byte[] bytes) constructor for that. See this link for details. EDIT You also have to consider your plateform's default charset as per the java doc: Constructs a new String by decoding the specified array of bytes using the platform'

stackoverflow.com

網址安全性掃描由 google 提供