'Declaration Public Class CompressedStream Inherits System.IO.Stream Implements System.IDisposable
'Usage Dim instance As CompressedStream
public class CompressedStream : System.IO.Stream, System.IDisposable
'Declaration Public Class CompressedStream Inherits System.IO.Stream Implements System.IDisposable
'Usage Dim instance As CompressedStream
public class CompressedStream : System.IO.Stream, System.IDisposable
Compression is applied to data being written to the stream, and decompression is performed when data is read from the stream.
The compression engine itself is not built into the CompressedStream class. Instead, user-supplied Compressor and Decompressor classes are used.
It is possible to implement your own compression algorithm by implementing classes derived from Compressor and Decompressor.
By default, closing the CompressedStream will also close the inner stream. This behavior can be modified by setting the Transient property to true%.
System.Object
System.MarshalByRefObject
System.IO.Stream
Xceed.Compression.CompressedStream
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