inputstream和outputstream读写数据模板代码

  //读写数据模板代码
byte buffer[] = new byte[1024];
int len=0;
while((len=in.read(buffer))>0){
out.write(buffer,0,len);
}
原文地址:https://www.cnblogs.com/liun1994/p/3999056.html