* 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 |
---|---|---|
.. | ||
applet | Loading commit data... | |
awt | Loading commit data... | |
beans | Loading commit data... | |
io | Loading commit data... | |
lang | Loading commit data... | |
math | Loading commit data... | |
net | Loading commit data... | |
security | Loading commit data... | |
sql | Loading commit data... | |
text | Loading commit data... | |
util | Loading commit data... |