Re: [bds 2006] Decompress .gz files with zlib unit?



Wolfgang Ehrhardt wrote:
>
> z := TZDecompressionStream.Create(TFileStream.Create(gzfile,
> fmOpenRead),12+16);
>
> BTW: Why do you use windowbit=12 and not the default (15)?

A bad case of stupid head on my part, I didn't read _all_ of zlib.h.
, 15+32 works perfectly.

> Hope that helps

You bet that sure helped.
Thank you, thank you, thank you.

--
Richard


.