ZStream is the most flexible and hardest to use class in the C1.C1Zip assembly. It contains a C# implementation of ZLIB's zstream object, which is a general purpose compressor and decompressor.

Namespace:  C1.C1Zip.ZLib
Assembly:  C1.Silverlight.Zip (in C1.Silverlight.Zip.dll)

Syntax

C#
public class ZStream
Visual Basic
Public Class ZStream

Remarks

In most cases, you should be able to use the C1ZStreamReader and C1ZStreamWriter classes instead of ZStream. These classes provide friendly and easy-to-use wrappers that hide the ZLIB complexity.

Use ZStream only if you are familiar with ZLIB and need control over the low-level aspects of the data compression or decompression process (e.g., to provide your own buffers or compression dictionaries).

If you choose to use ZStream directly and need technical support, please check out the detailed documentation, sample, and articles available at http://www.info-zip.org/ or http://www.gzip.org/, the official zlib sites.

ZLIB is an open-source, patent-free library created by Jean-Loup Gailly and Mark Adler.

Inheritance Hierarchy

System..::..Object
  C1.C1Zip.ZLib..::..ZStream

See Also