StreamManipulator Members
Public Instance Constructors
|
|
Constructs a default StreamManipulator with all buffers empty |
Public Instance Properties
| Gets the number of bits available in the bit buffer. This must be only called when a previous PeekBits() returned -1. | |
| Gets the number of bytes available. | |
| Returns true when SetInput can be called |
Public Instance Methods
| 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. | |
| 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. | |
| Determines whether the specified Object is equal to the current Object. | |
| Gets the next n bits and increases input pointer. This is equivalent to PeekBits followed by DropBits, except for correct error handling. | |
| Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. | |
| Gets the Type of the current instance. | |
| 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. | |
| Resets state and empties internal buffers | |
| Add more input for consumption. Only call when IsNeedingInput returns true | |
| Skips to the next byte boundary. | |
| Returns a String that represents the current Object. |
Protected Instance Methods
| Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. | |
| Creates a shallow copy of the current Object. |
See Also
StreamManipulator Class | ICSharpCode.SharpZipLib.Zip.Compression.Streams Namespace