通用壓縮解壓算法?
java用
Deflater compresser = new Deflater();
compresser.setInput(input);
compresser.finish();
//壓縮數(shù)據(jù)并返回壓縮后的長(zhǎng)度
int compressedDataLength =compresser.deflate(output);
//分離壓縮后的數(shù)據(jù)
通用壓縮解壓算法?
java用
Deflater compresser = new Deflater();
compresser.setInput(input);
compresser.finish();
//壓縮數(shù)據(jù)并返回壓縮后的長(zhǎng)度
int compressedDataLength =compresser.deflate(output);
//分離壓縮后的數(shù)據(jù)