Xceed Real-Time Zip for .NET Documentation
BZip2CompressedStream Class
Members 


Xceed.Compression.Formats Assembly > Xceed.Compression.Formats Namespace : BZip2CompressedStream Class
Represents a pass-through stream that reads and writes BZip2 formatted compressed data.
Syntax
'Declaration
 
Public Class BZip2CompressedStream 
   Inherits FormattedCompressedStream
   Implements System.IDisposable 
'Usage
 
Dim instance As BZip2CompressedStream
public class BZip2CompressedStream : FormattedCompressedStream, System.IDisposable  
Remarks

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.

Example
{DDCCF481-2900-4DF3-91AF-C0092EB9E23D}
{8EB6DDBC-CC91-4372-854A-53861A1C7A5F}
Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.IO.Stream
         Xceed.Compression.Formats.FormattedCompressedStream
            Xceed.Compression.Formats.BZip2CompressedStream

Requirements

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

See Also

Reference

BZip2CompressedStream Members
Xceed.Compression.Formats Namespace
{916E7D43-79A0-4455-99D2-BC570DE4F2F3}