Inflater overview
Public Instance Constructors
Inflater
|
Overloaded. Initializes 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 bytes. 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) |
Determines whether the specified Object is equal to the current Object.
|
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
|
GetType (inherited from Object) |
Gets the Type of the current instance.
|
Inflate | Overloaded. 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. |
SetDictionary | Overloaded. 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 | Overloaded. Sets the input. This should only be called, if needsInput() returns true. |
ToString (inherited from Object) |
Returns a String that represents the current Object.
|
Protected Instance Methods
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
|
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object.
|
See Also
Inflater Class | ICSharpCode.SharpZipLib.Zip.Compression Namespace