赞
踩
假设data为字节数组(byteArray) , 需要将其转化为string字符串
data
代码:
System.out.println(new String(data, "UTF-8"));