Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Rebex.IO.Compression.Streams Namespace

Classes

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.

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.

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.

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.

Enums

CompressionFormat

Specifies the compressed data format.

OpenMode

Specifies whether the stream can be used for reading or writing.

In This Article
  • Classes
  • Enums
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies