int rbyte = 0;
while (count < size) {
//循环读取
rbyte = inStream.read(buffer); //每次实际读取长度存于rbyte中
for(int i=0;iin_b[count + i] = buffer[i];
}
count += rbyte;
}
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/
发布: 2008-5-13 10:09 | 作者: 不详 | 来源: 不详 | 查看: 467次 | 进入软件测试论坛讨论
int rbyte = 0;
while (count < size) {
//循环读取
rbyte = inStream.read(buffer); //每次实际读取长度存于rbyte中
for(int i=0;iin_b[count + i] = buffer[i];
}
count += rbyte;
}
文章来源于领测软件测试网 https://www.ltesting.net/