Inflater Members

Public Instance Constructors

InflaterOverloaded. Initialize a new instance of the Inflater class.

Public Instance Properties

Adler Gets the adler checksum. This is either the checksum of all uncompressed bytes returned by inflate(), or if needsDictionary() returns true (and thus no output was yet produced) this is the adler checksum of the expected dictionary.
IsFinished Returns true, if the inflater has finished. This means, that no input is needed and no output can be produced.
IsNeedingDictionary Returns true, if a preset dictionary is needed to inflate the input.
IsNeedingInput Returns true, if the input buffer is empty. You should then call setInput(). NOTE: This method also returns true when the stream is finished.
RemainingInput Gets the number of unprocessed input. Useful, if the end of the stream is reached and you want to further process the bytes after the deflate stream.
TotalIn Gets the total number of processed compressed input bytes.
TotalOut Gets the total number of output bytes returned by inflate().

Public Instance Methods

Equals (inherited from Object)Select the method name to go to the Microsoft documentation.
GetHashCode (inherited from Object)Select the method name to go to the Microsoft documentation.
GetType (inherited from Object)Select the method name to go to the Microsoft documentation.
InflateOverloaded. 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.
Reset Resets the inflater so that a new stream can be decompressed. All pending input and output will be discarded.
SetDictionaryOverloaded. 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.
SetInputOverloaded. Sets the input. This should only be called, if needsInput() returns true.
ToString (inherited from Object)Select the method name to go to the Microsoft documentation.

Protected Instance Methods

Finalize (inherited from Object)Select the method name to go to the Microsoft documentation.
MemberwiseClone (inherited from Object)Select the method name to go to the Microsoft documentation.

See Also

Inflater Class | ICSharpCode.SharpZipLib.Zip.Compression Namespace