Ionic Zip Library v1.9.1.6
InitializeDeflate Method (level)
Reference ► Ionic.Zlib ► ZlibCodec ► InitializeDeflate(CompressionLevel)
Initialize the ZlibCodec for deflation operation, using the specified CompressionLevel.

C# | Visual Basic | Visual C++ |
public int InitializeDeflate( CompressionLevel level )
Public Function InitializeDeflate ( _ level As CompressionLevel _ ) As Integer
public: int InitializeDeflate( CompressionLevel level )

- level (CompressionLevel)
- The compression level for the codec.

Z_OK if all goes well.

The codec will use the maximum window bits (15) and the specified
CompressionLevel. It will emit a ZLIB stream as it compresses.