IdeaBlade DevForce 2010 Help Reference
InitializeInflate(Boolean) Method
See Also  Send Feedback
IdeaBlade.Core Assembly > Ionic.Zlib Namespace > ZlibCodec Class > InitializeInflate Method : InitializeInflate(Boolean) Method



expectRfc1950Header
whether to expect an RFC1950 header byte pair when reading the stream of data to be inflated.
Initialize the inflation state with an explicit flag to govern the handling of RFC1950 header bytes.

Syntax

Visual Basic (Declaration) 
Public Overloads Function InitializeInflate( _
   ByVal expectRfc1950Header As Boolean _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As ZlibCodec
Dim expectRfc1950Header As Boolean
Dim value As Integer
 
value = instance.InitializeInflate(expectRfc1950Header)
C# 
public int InitializeInflate( 
   bool expectRfc1950Header
)
C++/CLI 
public:
int InitializeInflate( 
   bool expectRfc1950Header
) 

Parameters

expectRfc1950Header
whether to expect an RFC1950 header byte pair when reading the stream of data to be inflated.

Return Value

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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.