line1: char[] temp = new char[1024];
line2: String str = new String(temp, 0, br.read(temp));
line3: int len = Integer.parseInt(str);
这是socket流读取时,流内容是类似于
000008<>
在debug时,如果在line2设置断点,执行下一步,str = "000008<>"
如果在line3设置断点,执行下一步,str = "000008"这是为什么呢??请指教
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货