Initialize the ZlibCodec for deflation operation, using the specified CompressionLevel, the specified number of window bits, and the explicit flag governing whether to emit an RFC1950 header byte pair.
Syntax
Parameters
- level
- The compression level for the codec.
- bits
- the number of window bits to use. If you don't know what this means, don't use this method.
- wantRfc1950Header
- whether to emit an initial RFC1950 byte pair in the compressed stream.
Return Value
Z_OK if all goes well.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also