BZip2InputStream Methods

SharpZip Compression Library

SharpZip Compression Library

BZip2InputStream Methods

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

Public Instance Methods

BeginRead (inherited from Stream) Begins an asynchronous read operation.
BeginWrite (inherited from Stream) Begins an asynchronous write operation.
Close Closes the stream, releasing any associated 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 Flushes the stream.
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 sequence of bytes and advances the read position by one byte.
ReadByte Read a byte from stream advancing position
Seek Set the streams position. This operation is not supported and will throw a NotSupportedException
SetLength Sets the length of this stream to the given value. This operation is not supported and will throw a NotSupportedExceptionortedException
ToString (inherited from Object) Returns a String that represents the current Object.
Write Writes a block of bytes to this stream using data from a buffer. This operation is not supported and will throw a NotSupportedException
WriteByte Writes a byte to the current position in the file stream. This operation is not supported and will throw a NotSupportedException

Protected Instance Methods

CreateWaitHandle (inherited from Stream) Allocates a WaitHandle object.
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

BZip2InputStream Class | ICSharpCode.SharpZipLib.BZip2 Namespace