StreamManipulator Methods

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

StreamManipulator Methods

The methods of the StreamManipulator class are listed below. For a complete list of StreamManipulator class members, see the StreamManipulator Members topic.

Public Instance Methods

CopyBytes Copies bytes from input buffer to output buffer starting at output[offset]. You have to make sure, that the buffer is byte aligned. If not enough bytes are available, copies fewer bytes.
DropBits Drops the next n bits from the input. You should have called PeekBits with a bigger or equal n before, to make sure that enough bits are in the bit buffer.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetBits Gets the next n bits and increases input pointer. This is equivalent to PeekBits followed by DropBits, except for correct error handling.
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.
PeekBits Get the next sequence of bits but don't increase input pointer. bitCount must be less or equal 16 and if this call succeeds, you must drop at least n - 8 bits in the next call.
Reset Resets state and empties internal buffers
SetInput Add more input for consumption. Only call when IsNeedingInput returns true
SkipToByteBoundary Skips to the next byte boundary.
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

StreamManipulator Class | ICSharpCode.SharpZipLib.Zip.Compression.Streams Namespace