'Declaration Public Class BZip2CompressedStream Inherits FormattedCompressedStream Implements System.IDisposable
'Usage Dim instance As BZip2CompressedStream
public class BZip2CompressedStream : FormattedCompressedStream, System.IDisposable
'Declaration Public Class BZip2CompressedStream Inherits FormattedCompressedStream Implements System.IDisposable
'Usage Dim instance As BZip2CompressedStream
public class BZip2CompressedStream : FormattedCompressedStream, System.IDisposable
Compression is applied to data being written to the stream, and decompression is performed when data is read from the stream.
By default, closing the BZip2CompressedStream will also close the inner stream. This behavior can be modified by setting the Transient property to true.
To make sure that the header and footer are written, you can call Write with 0 bytes. If neither Write nor Read has been called, the BZip2CompressedStream does not know if it is reading or writing.
System.Object
System.MarshalByRefObject
System.IO.Stream
Xceed.Compression.Formats.FormattedCompressedStream
Xceed.Compression.Formats.BZip2CompressedStream
Name | Description | |
---|---|---|
![]() | BZip2CompressedStream Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | CanRead | Gets a boolean value indicating whether the current stream supports reading. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | CanSeek | Overridden. |
![]() | CanTimeout | (Inherited from System.IO.Stream) |
![]() | CanWrite | Gets a boolean value indicating whether the current stream supports writing. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | InnerStream | (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | Length | Gets the length, in bytes, of the stream. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | Position | Gets or sets the position within the current stream. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | ReadTimeout | (Inherited from System.IO.Stream) |
![]() | Transient | Gets or sets a boolean value indicating if the stream is responsible for closing its inner stream. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | WriteTimeout | (Inherited from System.IO.Stream) |
Name | Description | |
---|---|---|
![]() | BeginRead | (Inherited from System.IO.Stream) |
![]() | BeginWrite | (Inherited from System.IO.Stream) |
![]() | Close | (Inherited from System.IO.Stream) |
![]() ![]() | Compress | Overloaded. |
![]() | CopyTo | Overloaded. (Inherited from System.IO.Stream) |
![]() | CopyToAsync | Overloaded. (Inherited from System.IO.Stream) |
![]() | CreateObjRef | (Inherited from System.MarshalByRefObject) |
![]() ![]() | Decompress | Overloaded. |
![]() | Dispose | Overloaded. Releases all resources used by the FormattedCompressedStream. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | EndRead | (Inherited from System.IO.Stream) |
![]() | EndWrite | (Inherited from System.IO.Stream) |
![]() | Flush | Clears all buffers for this stream and causes any buffered data to be written to the underlying compressed stream. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | FlushAsync | Overloaded. (Inherited from System.IO.Stream) |
![]() | GetLifetimeService | (Inherited from System.MarshalByRefObject) |
![]() | InitializeLifetimeService | (Inherited from System.MarshalByRefObject) |
![]() | Read | Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | ReadAsync | Overloaded. (Inherited from System.IO.Stream) |
![]() | ReadByte | (Inherited from System.IO.Stream) |
![]() | Seek | Sets the position within the current stream. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | SetLength | Sets the length of the current stream. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | Write | Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | WriteAsync | Overloaded. (Inherited from System.IO.Stream) |
![]() | WriteByte | (Inherited from System.IO.Stream) |
Name | Description | |
---|---|---|
![]() | CreateWaitHandle | (Inherited from System.IO.Stream) |
![]() | Finalize | Allows the FormattedCompressedStream object to attempt to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | MemberwiseClone | Overloaded. (Inherited from System.MarshalByRefObject) |
![]() | ObjectInvariant | (Inherited from System.IO.Stream) |
![]() | ReadFooter | Overridden. |
![]() | ReadHeader | Overridden. |
![]() | Reset | (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | WriteFooter | Overridden. |
![]() | WriteHeader | Overridden. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
BZip2CompressedStream Members
Xceed.Compression.Formats Namespace
{916E7D43-79A0-4455-99D2-BC570DE4F2F3}