InputStream input = new FileInputStream("abc.rm");
OutputStream output = new FileOutputStream("cde.rm");
int length = 256;
byte[] data = new byte[length];
while((length=input.read(data)) != -1)
{
output.write(data,0,length);
}
是这样吗?
OutputStream output = new FileOutputStream("cde.rm");
int length = 256;
byte[] data = new byte[length];
while((length=input.read(data)) != -1)
{
output.write(data,0,length);
}
是这样吗?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货