while(bytes = in.read(buf,0,buf.length) != -1){
for(int i = 0;i < bytes; i++)
Stystem.out.print(Integer.toHexString(buf[i])&0xff+" ");
}
while(bytes = in.read(buf,0,buf.length) != -1){
for(int i = 0;i < buf.length; i++)
Stystem.out.print(Integer.toHexString(buf[i])&0xff+" ");
}
这两个有什么区别,为什么我运行出来结果不一样!!!
MarlboroKay