BZip2OutputStream Members

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

BZip2OutputStream Members

BZip2OutputStream overview

Public Instance Constructors

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

Public Instance Properties

BytesWritten Get the number of bytes written to the output.
CanRead Gets a value indicating whether the current stream supports reading
CanSeek Gets a value indicating whether the current stream supports seeking
CanWrite Gets a value indicating whether the current stream supports writing
IsStreamOwner Get/set flag indicating ownership of underlying stream. When the flag is true Close will close the underlying stream also.
Length Gets the length in bytes of the stream
Position Gets or sets the current position of this stream.

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.
Dispose Releases the unmanaged resources used by the BZip2OutputStream and optionally releases the managed resources.
Finalize Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the BZip2OutputStream.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

BZip2OutputStream Class | ICSharpCode.SharpZipLib.BZip2 Namespace