Public Member Functions

 InflateManager ()
 
 InflateManager (bool expectRfc1950HeaderBytes)
 

Package Functions

int Reset ()
 
int End ()
 
int Initialize (ZlibCodec codec, int w)
 
int Inflate (FlushType flush)
 
int SetDictionary (byte[] dictionary)
 
int Sync ()
 
int SyncPoint (ZlibCodec z)
 

Package Attributes

ZlibCodec _codec
 
int method
 
uint computedCheck
 
uint expectedCheck
 
int marker
 
int wbits
 
InflateBlocks blocks
 

Properties

bool HandleRfc1950HeaderBytes [get, set]
 

Private Types

enum  InflateManagerMode {
  InflateManagerMode.METHOD = 0, InflateManagerMode.FLAG = 1, InflateManagerMode.DICT4 = 2, InflateManagerMode.DICT3 = 3,
  InflateManagerMode.DICT2 = 4, InflateManagerMode.DICT1 = 5, InflateManagerMode.DICT0 = 6, InflateManagerMode.BLOCKS = 7,
  InflateManagerMode.CHECK4 = 8, InflateManagerMode.CHECK3 = 9, InflateManagerMode.CHECK2 = 10, InflateManagerMode.CHECK1 = 11,
  InflateManagerMode.DONE = 12, InflateManagerMode.BAD = 13
}
 

Private Attributes

const int PRESET_DICT = 0x20
 
const int Z_DEFLATED = 8
 
InflateManagerMode mode
 
bool _handleRfc1950HeaderBytes = true
 

Static Private Attributes

static readonly byte[] mark = new byte[] { 0, 0, 0xff, 0xff }
 

Member Enumeration Documentation

Enumerator
METHOD 
FLAG 
DICT4 
DICT3 
DICT2 
DICT1 
DICT0 
BLOCKS 
CHECK4 
CHECK3 
CHECK2 
CHECK1 
DONE 
BAD 

Constructor & Destructor Documentation

Zlib.InflateManager.InflateManager ( )
inline
Zlib.InflateManager.InflateManager ( bool  expectRfc1950HeaderBytes)
inline

Member Function Documentation

int Zlib.InflateManager.End ( )
inlinepackage
int Zlib.InflateManager.Inflate ( FlushType  flush)
inlinepackage
int Zlib.InflateManager.Initialize ( ZlibCodec  codec,
int  w 
)
inlinepackage
int Zlib.InflateManager.Reset ( )
inlinepackage
int Zlib.InflateManager.SetDictionary ( byte[]  dictionary)
inlinepackage
int Zlib.InflateManager.Sync ( )
inlinepackage
int Zlib.InflateManager.SyncPoint ( ZlibCodec  z)
inlinepackage

Member Data Documentation

ZlibCodec Zlib.InflateManager._codec
package
bool Zlib.InflateManager._handleRfc1950HeaderBytes = true
private
InflateBlocks Zlib.InflateManager.blocks
package
uint Zlib.InflateManager.computedCheck
package
uint Zlib.InflateManager.expectedCheck
package
readonly byte [] Zlib.InflateManager.mark = new byte[] { 0, 0, 0xff, 0xff }
staticprivate
int Zlib.InflateManager.marker
package
int Zlib.InflateManager.method
package
InflateManagerMode Zlib.InflateManager.mode
private
const int Zlib.InflateManager.PRESET_DICT = 0x20
private
int Zlib.InflateManager.wbits
package
const int Zlib.InflateManager.Z_DEFLATED = 8
private

Property Documentation

bool Zlib.InflateManager.HandleRfc1950HeaderBytes
getsetpackage