Ionic.Zlib namespace includes classes for doing ZLIB, DEFLATE, and GZIP compression and decompression, according to RFC 1950, RFC 1951, and RFC 1952. It includes stream classes that can directly replace the DeflateStream and GZipStream classes that are included in the Base Class Library of the .NET Framework.
Declaration Syntax
C# | Visual Basic | Visual C++ |
namespace Ionic.Zlib
Namespace Ionic.Zlib
namespace Ionic.Zlib
Types
All Types | Classes | Enumerations |
Icon | Type | Description |
---|---|---|
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.
|
|
DeflateStream |
A class for compressing and decompressing streams using the Deflate algorithm.
|
|
FlushType |
Describes how to flush the current deflate operation.
|
|
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.
|