zstream.c
2.71 KB
-
Reorganize zstream API and fix wrap problems · d9b04d78
There were some confusing issues mixing up the number of bytes written to the zstream output buffer with the number of bytes consumed from the zstream input. This reorganizes the zstream API and makes it easier to deflate an arbitrarily large input while still using a fixed size output.
Russell Belfer committed