62,568
社区成员




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};