How to uncompress gzip archive compressed by deflate method.

Zarathustra adam.chrapkowski at yahoo.com
Sat Nov 13 05:03:58 PST 2010


Thanks for a tip, but it's still does not work.
My test gzip file have 10 (minimum gzip header) header bytes and 8 trailing bytes,
so I tried:
auto _uncompressed = uncompress(_compressed[0x0A.._compressed.length - 0x08]);

But the exception still occurs. Maybe the compressed data need to be aligned in
some boundary or something.
Please for help.


More information about the Digitalmars-d-learn mailing list