InitializeDeflate Method (level, bits)

DotNetZip

Ionic Zip Library v1.9.1.6 InitializeDeflate Method (level, bits)
ReferenceIonic.ZlibZlibCodecInitializeDeflate(CompressionLevel, Int32)
Initialize the ZlibCodec for deflation operation, using the specified CompressionLevel, and the specified number of window bits.
Declaration Syntax
C# Visual Basic Visual C++
public int InitializeDeflate(
	CompressionLevel level,
	int bits
)
Public Function InitializeDeflate ( _
	level As CompressionLevel, _
	bits As Integer _
) As Integer
public:
int InitializeDeflate(
	CompressionLevel level, 
	int bits
)
Parameters
level (CompressionLevel)
The compression level for the codec.
bits (Int32)
the number of window bits to use. If you don't know what this means, don't use this method.
Return Value
Z_OK if all goes well.
Remarks
The codec will use the specified number of window bits and the specified CompressionLevel.

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