Closed GoogleCodeExporter closed 9 years ago
I discussed this issue with Janez by email, tinfl has an output buffer
requirement that wasn't well commented in earlier release. tinfl is purposely
designed this way- the higher level API's in miniz (such as the zlib-emulation
functions) support tiny input/output buffer.
tinfl requires that the output buffer be either the size of the decompressed
output stream (a "non-wrapping" output buffer - you must specify the proper
tinfl flag to enable this), or the output buffer must be a power of 2 size that
is at least as large as the LZ dictionary (typically 32KB). The input buffer
for decompression can be 1 byte, and I've tested this on many files.
Original comment by richge...@gmail.com
on 19 May 2012 at 11:43
Original issue reported on code.google.com by
janez...@gmail.com
on 20 Jul 2011 at 6:21