ComponentOne Zip for .NET
ZStream Class

C1.C1Zip.4 Assembly > C1.C1Zip.ZLib Namespace : ZStream Class
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.
Public Class ZStream 
public class ZStream 

In most cases, you should be able to use the C1.C1Zip.C1ZStreamReader and C1.C1Zip.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 or, the official zlib sites.

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

Inheritance Hierarchy


See Also


ZStream Members
C1.C1Zip.ZLib Namespace