Keyoti RapidSpell Silverlight API Docs
InitializeInflate Method (expectRfc1950Header)
APIKeyoti.RapidSpell.CompressionZlibCodecInitializeInflate(Boolean)
Keyoti RapidSpell Silverlight
Initialize the inflation state with an explicit flag to govern the handling of RFC1950 header bytes.
Declaration Syntax
C#Visual BasicVisual C++F#
public int InitializeInflate(
	bool expectRfc1950Header
)
Public Function InitializeInflate ( 
	expectRfc1950Header As Boolean
) As Integer
public:
int InitializeInflate(
	bool expectRfc1950Header
)
member InitializeInflate : 
        expectRfc1950Header : bool -> int 
Parameters
expectRfc1950Header (Boolean)
whether to expect an RFC1950 header byte pair when reading the stream of data to be inflated.
Return Value
Int32
Z_OK if everything goes well.
Remarks
By default, the ZLIB header defined in RFC 1950 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.

Assembly: Keyoti3.RapidSpell.Silverlight (Module: Keyoti3.RapidSpell.Silverlight.dll) Version: 2.0.12.706 (2.0.12.706)