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.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public int InitializeDeflate( CompressionLevel level )
Public Function InitializeDeflate ( _ level As CompressionLevel _ ) As Integer
public: int InitializeDeflate( CompressionLevel level )
Parameters
- level (CompressionLevel)
- The compression level for the codec.
Return Value
Z_OK if all goes well.
Remarks
The codec will use the maximum window bits (15) and the specified
CompressionLevel. It will emit a ZLIB stream as it compresses.