java 解析socket数据流为字符串
byte[] vin = new byte[]{
0x38, 0x35, 0x37, 0x35, 0x38,
0x37, 0x30, 0x32, 0x30, 0x35,
0x39, 0x34, 0x36, 0x33, 0x34,
0x56, 0x35
};
for(int i=0;i<vin.length;i++){
System.out.print((char)(vin[i]&0xff));
}
873



被折叠的 条评论
为什么被折叠?



