Initialize the inflation state with an explicit flag to govern the handling of
RFC1950 header bytes.
Declaration Syntax
C# | C# | Visual Basic | Visual Basic | Visual C++ | Visual C++ | F# | F# |
public int InitializeInflate( int windowBits, bool expectRfc1950Header )
public int InitializeInflate( int windowBits, bool expectRfc1950Header )
Public Function InitializeInflate ( windowBits As Integer, expectRfc1950Header As Boolean ) As Integer
Public Function InitializeInflate ( windowBits As Integer, expectRfc1950Header As Boolean ) As Integer
public: int InitializeInflate( int windowBits, bool expectRfc1950Header )
public: int InitializeInflate( int windowBits, bool expectRfc1950Header )
member InitializeInflate : windowBits : int * expectRfc1950Header : bool -> int
member InitializeInflate : windowBits : int * expectRfc1950Header : bool -> int
Return Value
Int32
Z_OK if everything goes well.
Z_OK if everything goes well.
Remarks
If you want to read a zlib stream you should specify true for
expectRfc1950Header. In this case, the library will expect to find a ZLIB
header, as defined in RFC
1950, in the compressed stream. If you will be reading a DEFLATE or
GZIP stream, which does not have such a header, you will want to specify
false.
Assembly: Keyoti.RapidSpell.NET4 (Module: Keyoti.RapidSpell.NET4.dll) Version: 6.2.21.412