* DeflaterOutputStream.java (deflate): Loop while def.needsInput. (finish): def.deflate needs to be called in a loop. (inbuf, inbufLength): New private fields. (write(int)): Use inbuf. (write(byte[],int,int): Check if pending output in inbuf. * ZipOutputStream.java: Don't use Deflater if stored. Use a Checksum object directly, not via a CheckedOutputStream. (uncompressed_size): New field, (closeEntry): Only write data_directory if needed. (write): If STORED, write directly. Always update crc, and uncompressed_size. (write_entry): Fix lots of protocol erors. From-SVN: r40988
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Adler32.java | Loading commit data... | |
CRC32.java | Loading commit data... | |
CheckedInputStream.java | Loading commit data... | |
CheckedOutputStream.java | Loading commit data... | |
Checksum.java | Loading commit data... | |
DataFormatException.java | Loading commit data... | |
Deflater.java | Loading commit data... | |
DeflaterOutputStream.java | Loading commit data... | |
GZIPInputStream.java | Loading commit data... | |
GZIPOutputStream.java | Loading commit data... | |
Inflater.java | Loading commit data... | |
InflaterInputStream.java | Loading commit data... | |
ZipConstants.java | Loading commit data... | |
ZipEntry.java | Loading commit data... | |
ZipException.java | Loading commit data... | |
ZipFile.java | Loading commit data... | |
ZipInputStream.java | Loading commit data... | |
ZipOutputStream.java | Loading commit data... | |
natDeflater.cc | Loading commit data... | |
natInflater.cc | Loading commit data... |