Classes

  Class Description
Public class CompressionStream
Provides a stream that uses specified compressed data format to compress data. If opened for writing it compresses specified data and writes the compressed data into an underlying stream. If opened for reading it reads an uncompressed data from the underlying stream and returns a compressed data. Unlike similar class present in .NET Framework 2.0, this one actually makes it possible to use Flush when compressing data to make sure all data written to the stream have been written into the underlying stream as well.
Public class DecompressionStream
Provides a stream that uses specified compressed data format to decompress data. If opened for writing it decompresses specified data and writes the decompressed data into an underlying stream. If opened for reading it reads a compressed data from the underlying stream and returns a decompressed data.
Public class GzipCompressionStream
Provides a stream that uses RFC 1952 - GZIP implementation to compress data. If opened for writing it compresses specified data and writes the compressed data into an underlying stream. If opened for reading it reads an uncompressed data from the underlying stream and returns a compressed data. Unlike similar class present in .NET Framework 2.0, this one actually makes it possible to use Flush when compressing data to make sure all data written to the stream have been written into the underlying stream as well.
Public class GzipDecompressionStream
Provides a stream that uses RFC 1952 - GZIP implementation to decompress data. If opened for writing it decompresses specified data and writes the decompressed data into an underlying stream. If opened for reading it reads a compressed data from the underlying stream and returns a decompressed data.

Enumerations

  Enumeration Description
Public enumeration CompressionFormat
Specifies the compressed data format.
Public enumeration OpenMode
Specifies whether the stream can be used for reading or writing.