Comment 20 for bug 1567219

Revision history for this message
In , Philippe Waroquiers (philippe-waroquiers) wrote :

An alternative is also the simple/super small 'inflate' implementation in zlib code
zlib-1.2.8/contrib/puff.h and puff.c

This is a fully independent inflate implementation (no #include).

There are some drawbacks (2 times slower than the real zlib inflate, and as it does
not do memory allocation, inflate fails if the target buffer is too small
(and so, you must redo the inflate with a bigger buffer).
If the debug info stores the uncompressed size, then this is not a problem