InitializeDeflate Method (level, bits, wantRfc1950Header)

DotNetZip

Ionic Zip Library v1.9.1.6 InitializeDeflate Method (level, bits, wantRfc1950Header)
ReferenceIonic.ZlibZlibCodecInitializeDeflate(CompressionLevel, Int32, Boolean)
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.
Declaration Syntax
C# Visual Basic Visual C++
public int InitializeDeflate(
	CompressionLevel level,
	int bits,
	bool wantRfc1950Header
)
Public Function InitializeDeflate ( _
	level As CompressionLevel, _
	bits As Integer, _
	wantRfc1950Header As Boolean _
) As Integer
public:
int InitializeDeflate(
	CompressionLevel level, 
	int bits, 
	bool wantRfc1950Header
)
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.
wantRfc1950Header (Boolean)
whether to emit an initial RFC1950 byte pair in the compressed stream.
Return Value
Z_OK if all goes well.

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