PendingBuffer Members

SharpZip Compression Library

SharpZip Compression Library

PendingBuffer Members

PendingBuffer overview

Public Instance Constructors

PendingBuffer Overloaded. Initializes a new instance of the PendingBuffer class.

Public Instance Properties

BitCount The number of bits written to the buffer
IsFlushed Indicates if buffer has been flushed

Public Instance Methods

AlignToByte Align internal buffer on a byte boundary
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush Flushes the pending buffer into the given output array. If the output array is to small, only a partial flush is done.
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.
Reset Clear internal state/buffers
ToByteArray Convert internal buffer to byte array. Buffer is empty on completion
ToString (inherited from Object) Returns a String that represents the current Object.
WriteBits Write bits to internal buffer
WriteBlock Write a block of data to buffer
WriteByte write a byte to buffer
WriteInt write an integer LSB first
WriteShort Write a short value to buffer LSB first
WriteShortMSB Write a short value to internal buffer most significant byte first

Protected Instance Fields

bufInternal work buffer

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

PendingBuffer Class | ICSharpCode.SharpZipLib.Zip.Compression Namespace