XceedCompressedStreamEx Class
See Also  Members  
Xceed.Compression.Formats Assembly > Xceed.Compression.Formats Namespace : XceedCompressedStreamEx Class

Represents a pass-through stream that reads and writes Xceed formatted compressed data. Use this class to decompress or compress data compatible with the ActiveX Xceed Zip Compression Library (XceedCompression object).

Syntax

Visual Basic (Declaration) 
Public Class XceedCompressedStreamEx 
   Inherits XceedCompressedStream
C# 
public class XceedCompressedStreamEx : XceedCompressedStream 

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 XceedCompressedStream will also close the inner stream. This behavior can be modified by setting the FormattedCompressedStream.Transient property to true.

To make sure that the header and footer are written, you can call FormattedCompressedStream.Write with 0 bytes. If neither FormattedCompressedStream.Write nor FormattedCompressedStream.Read has been called, the XceedCompressedStream does not know if it is reading or writing. The Adler32 of this class is initialized to 1 rather than 0 as with the XceedCompressedStream class.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.IO.Stream
         Xceed.Compression.Formats.FormattedCompressedStream
            Xceed.Compression.Formats.XceedCompressedStream
               Xceed.Compression.Formats.XceedCompressedStreamEx

Requirements

Supported Operating Systems: Windows 2000 Service Pack 3; Windows 98; Windows 98 Second Edition; Windows ME; Windows Server 2003; Windows Vista Business; Windows Vista Business 64-bit edition; Windows Vista Enterprise; Windows Vista Enterprise 64-bit edition; Windows Vista Home Basic; Windows Vista Home Basic 64-bit edition; Windows Vista Home Premium; Windows Vista Home Premium 64-bit edition; Windows Vista Starter; Windows Vista Ultimate; Windows Vista Ultimate 64-bit edition; Windows XP Service Pack 2

Supported Frameworks: Microsoft .NET Framework version 2.0; Microsoft .NET Framework version 3.0

See Also