Method | Description | |
---|---|---|
Inflate ( byte buffer ) : int |
Inflates the compressed stream to the output buffer. If this returns 0, you should check, whether IsNeedingDictionary(), IsNeedingInput() or IsFinished() returns true, to determine why no further output is produced.
|
|
Inflate ( byte buffer, int offset, int count ) : int |
Inflates the compressed stream to the output buffer. If this returns 0, you should check, whether needsDictionary(), needsInput() or finished() returns true, to determine why no further output is produced.
|
|
Inflater ( ) : System |
Creates a new inflater or RFC1951 decompressor RFC1950/Zlib headers and footers will be expected in the input data
|
|
Inflater ( bool noHeader ) : System |
Creates a new inflater.
|
|
Reset ( ) : void |
Resets the inflater so that a new stream can be decompressed. All pending input and output will be discarded.
|
|
SetDictionary ( byte buffer ) : void |
Sets the preset dictionary. This should only be called, if needsDictionary() returns true and it should set the same dictionary, that was used for deflating. The getAdler() function returns the checksum of the dictionary needed.
|
|
SetDictionary ( byte buffer, int index, int count ) : void |
Sets the preset dictionary. This should only be called, if needsDictionary() returns true and it should set the same dictionary, that was used for deflating. The getAdler() function returns the checksum of the dictionary needed.
|
|
SetInput ( byte buffer ) : void |
Sets the input. This should only be called, if needsInput() returns true.
|
|
SetInput ( byte buffer, int index, int count ) : void |
Sets the input. This should only be called, if needsInput() returns true.
|
Method | Description | |
---|---|---|
Decode ( ) : bool |
Decodes the deflated stream.
|
|
DecodeChksum ( ) : bool |
Decodes the adler checksum after the deflate stream.
|
|
DecodeDict ( ) : bool |
Decodes the dictionary checksum after the deflate header.
|
|
DecodeHeader ( ) : bool |
Decodes a zlib/RFC1950 header.
|
|
DecodeHuffman ( ) : bool |
Decodes the huffman encoded symbols in the input stream.
|
public Inflate ( byte buffer ) : int | ||
buffer | byte | /// the output buffer. /// |
return | int |
public Inflate ( byte buffer, int offset, int count ) : int | ||
buffer | byte | /// the output buffer. /// |
offset | int | /// the offset in buffer where storing starts. /// |
count | int | /// the maximum number of bytes to output. /// |
return | int |
public Inflater ( bool noHeader ) : System | ||
noHeader | bool | /// True if no RFC1950/Zlib header and footer fields are expected in the input data /// /// This is used for GZIPed/Zipped input. /// /// For compatibility with /// Sun JDK you should provide one byte of input more than needed in /// this case. /// |
return | System |
public SetDictionary ( byte buffer ) : void | ||
buffer | byte | /// The dictionary. /// |
return | void |
public SetDictionary ( byte buffer, int index, int count ) : void | ||
buffer | byte | /// The dictionary. /// |
index | int | /// The index into buffer where the dictionary starts. /// |
count | int | /// The number of bytes in the dictionary. /// |
return | void |
public SetInput ( byte buffer ) : void | ||
buffer | byte | /// the input. /// |
return | void |
public SetInput ( byte buffer, int index, int count ) : void | ||
buffer | byte | /// The source of input data /// |
index | int | /// The index into buffer where the input starts. /// |
count | int | /// The number of bytes of input to use. /// |
return | void |