Table of Contents

Namespace Ionic.Zlib

Classes

CRC32

Computes a CRC-32. The CRC-32 algorithm is parameterized - you can set the polynomial and enable or disable bit reversal. This can be used for GZIP, BZip2, or ZIP.

CrcCalculatorStream

A Stream that calculates a CRC32 (a checksum) on all bytes read, or on all bytes written.

DeflateStream

A class for compressing and decompressing streams using the Deflate algorithm.

GZipStream

A class for compressing and decompressing GZIP streams.

ParallelDeflateOutputStream

A class for compressing streams using the Deflate algorithm with multiple threads.

ZlibCodec

Encoder and Decoder for ZLIB and DEFLATE (IETF RFC1950 and RFC1951).

ZlibConstants

A bunch of constants used in the Zlib interface.

ZlibException

A general purpose exception class for exceptions in the Zlib library.

ZlibStream

Represents a Zlib stream for compression or decompression.

Enums

CompressionLevel

The compression level to be used when using a DeflateStream or ZlibStream with CompressionMode.Compress.

CompressionMode

An enum to specify the direction of transcoding - whether to compress or decompress.

CompressionStrategy

Describes options for how the compression algorithm is executed. Different strategies work better on different sorts of data. The strategy parameter can affect the compression ratio and the speed of compression but not the correctness of the compresssion.

FlushType

Describes how to flush the current deflate operation.