[Zlib-devel] gzip-wrapper -- gzopen() vs. wbits of 31

Mark Adler madler at alumni.caltech.edu
Sun Jun 4 18:34:53 EDT 2006


On Jun 4, 2006, at 12:56 PM, Mikhail Teterin wrote:
> 	gzopen(name, "w9")
>
> records the operating system as Unix, but does not record the  
> compression
> level.
...
> When using deflateInit2() with 31 for wbits (15+16), the  
> compression level
> gets recorded, but not the originating OS.

Neither the OS code nor the compression level are needed to  
decompress the data.  However I will put this in my notes for  
something to make a little more consistent between the two.

mark





More information about the Zlib-devel mailing list