NetWrok.HTTP.Zlib.ZlibCodec.InitializeInflate C# (CSharp) Метод

InitializeInflate() публичный Метод

Initialize the inflation state with an explicit flag to govern the handling of RFC1950 header bytes.
By default, the RFC1950 header is expected. If you want to read a zlib stream you should specify true for expectRfc1950Header. If you have a deflate stream, you will want to specify false. It is only necessary to invoke this initializer explicitly if you want to specify false.
public InitializeInflate ( bool expectRfc1950Header ) : int
expectRfc1950Header bool whether to expect an RFC1950 header byte pair when reading the stream of data to be inflated.
Результат int
        public int InitializeInflate(bool expectRfc1950Header)
        {
            return InitializeInflate(ZlibConstants.WINDOW_BITS_DEFAULT, expectRfc1950Header);
        }

Same methods

ZlibCodec::InitializeInflate ( ) : int
ZlibCodec::InitializeInflate ( int windowBits ) : int
ZlibCodec::InitializeInflate ( int windowBits, bool expectRfc1950Header ) : int