Ionic Zip Library v1.9.1.6
InitializeInflate Method (windowBits, expectRfc1950Header)
Reference ► Ionic.Zlib ► ZlibCodec ► InitializeInflate(Int32, Boolean)
Initialize the inflation state with an explicit flag to govern the handling of
RFC1950 header bytes.
Declaration Syntax
Return Value
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.