InitializeDeflate Method (level)

DotNetZip

Ionic Zip Library v1.9.1.6 InitializeDeflate Method (level)
ReferenceIonic.ZlibZlibCodecInitializeDeflate(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.

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)