62,614
社区成员
发帖
与我相关
我的任务
分享
String s = "中文";
byte[] reqBuf = s.getBytes();
public static void main(String[] args) {
String s = "中文";
byte[] b = s.getBytes();
for (byte bb : b) {
System.out.print(bb + ",");
}
}
执行一下,看看哪个值超过-128~127这个范围了,然后再来提问
byte[] reqBuf = {200};