byte[] to String (Java) - Stack Overflow

byte[] to String (Java) - Stack Overflow

瀏覽:1106
日期:2025-07-06
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'...看更多