byte[] to String (Java) - Stack Overflow

byte[] to String (Java) - Stack Overflow

瀏覽:650
日期:2025-10-05
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'...看更多