File file = new File("d:/websrc/a.dbf");
FileInputStream fis = new FileInputStream(file);
fis.read();
FileOutputStream fos = new FileOutputStream("d:/websrc/new.dbf");
fos.write(0xf5);
byte[] buffer = new byte[1024];
int length = -1;
while((length = fis.read(buffer))>-1){
fos.write(buffer,0,length);
}
fos.flush();
fos.close();
fis.close();
FileInputStream fis = new FileInputStream(file);
fis.read();
FileOutputStream fos = new FileOutputStream("d:/websrc/new.dbf");
fos.write(0xf5);
byte[] buffer = new byte[1024];
int length = -1;
while((length = fis.read(buffer))>-1){
fos.write(buffer,0,length);
}
fos.flush();
fos.close();
fis.close();
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货