BZip2OutputStream Methods

SharpZip Compression Library

SharpZip Compression Library

BZip2OutputStreamĀ Methods

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

Public Instance Methods

BeginRead (inherited from Stream) Begins an asynchronous read operation.
BeginWrite (inherited from Stream) Begins an asynchronous write operation.
Close End the current block and end compression. Close the stream and free any resources
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
EndRead (inherited from Stream) Waits for the pending asynchronous read to complete.
EndWrite (inherited from Stream) Ends an asynchronous write operation.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush Flush output buffers
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.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
Read Read a block of bytes
ReadByte Read a byte from the stream advancing the position.
Seek Sets the current position of this stream to the given value.
SetLength Sets the length of this stream to the given value.
ToString (inherited from Object) Returns a String that represents the current Object.
Write Write a block of bytes to the stream
WriteByte Write a byte to the stream.

Protected Instance Methods

CreateWaitHandle (inherited from Stream) Allocates a WaitHandle object.
Finalize Free any resources and other cleanup before garbage collection reclaims memory
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

BZip2OutputStream Class | ICSharpCode.SharpZipLib.BZip2 Namespace