NetWrok.HTTP.Zlib.ZlibCodec.InitializeDeflate C# (CSharp) Method

InitializeDeflate() public method

Initialize the ZlibCodec for deflation operation, using the specified CompressionLevel, and the specified number of window bits.
The codec will use the specified number of window bits and the specified CompressionLevel.
public InitializeDeflate ( CompressionLevel level, int bits ) : int
level CompressionLevel The compression level for the codec.
bits int the number of window bits to use. If you don't know what this means, don't use this method.
return int
        public int InitializeDeflate(CompressionLevel level, int bits)
        {
            return InitializeDeflate(level, bits, true);
        }

Same methods

ZlibCodec::InitializeDeflate ( ) : int
ZlibCodec::InitializeDeflate ( CompressionLevel level ) : int
ZlibCodec::InitializeDeflate ( CompressionLevel level, bool wantRfc1950Header ) : int
ZlibCodec::InitializeDeflate ( CompressionLevel level, int bits, bool wantRfc1950Header ) : int