The ZStream type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
ZStream()()()() |
Initializes a new instance of the ZStream class using an Adler checksum.
|
![]() |
ZStream(Boolean) |
Initializes a new instance of the ZStream class.
|
Methods
Name | Description | |
---|---|---|
![]() |
deflate |
Compresses as much data as possible, and stops when the input buffer becomes empty or the
output buffer becomes full.
|
![]() |
deflateEnd |
Frees all dynamically allocated data structures for this stream,
discards any unprocessed input, and does not flush any pending output.
|
![]() |
deflateInit(Int32) |
Initializes the internal stream state for compression.
|
![]() |
deflateInit(Int32, Int32) |
Initializes the internal stream state for compression.
|
![]() |
deflateParams |
Dynamically updates the compression level and compression strategy.
|
![]() |
deflateSetDictionary |
Initializes the compression dictionary from the given byte sequence without
producing any compressed output.
|
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
inflate |
Decompresses as much data as possible until the input buffer is exhausted or
the output buffer is full.
|
![]() |
inflateEnd |
Frees all dynamically allocated data structures for this stream,
discards any unprocessed input, and does not flush any pending output.
|
![]() |
inflateInit()()()() |
Initializes the internal stream state for decompression.
|
![]() |
inflateInit(Int32) |
Initializes the internal stream state for decompression.
|
![]() |
inflateSetDictionary |
Initializes the decompression dictionary from the given uncompressed byte sequence.
|
![]() |
inflateSync |
Skips invalid compressed data until a full flush point is found,
or until all available input is skipped. No output is provided.
|
![]() |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() |
adler |
Current checksum value (Adler or CRC32).
|
![]() |
avail_in |
Number of bytes available in the input buffer.
|
![]() |
avail_out |
Number of free bytes remaining in output buffer.
|
![]() |
msg |
Description of the last error (null if no errors).
|
![]() |
next_in |
Input buffer.
|
![]() |
next_in_index |
Position of cursor into input buffer.
|
![]() |
next_out |
Output buffer.
|
![]() |
next_out_index |
Position of cursor into the output buffer.
|
![]() |
total_in |
Total number of input bytes read so far.
|
![]() |
total_out |
Total number of bytes output so far.
|
![]() ![]() |
Z_BUF_ERROR |
No progress possible or no room in output buffer.
|
![]() ![]() |
Z_DATA_ERROR |
Input data is corrupted (wrong format or checksum).
|
![]() ![]() |
Z_ERRNO |
File error.
|
![]() ![]() |
Z_MEM_ERROR |
Not enough memory.
|
![]() ![]() |
Z_NEED_DICT |
A preset dictionary is needed at this point.
|
![]() ![]() |
Z_OK |
No error.
|
![]() ![]() |
Z_STREAM_END |
End of stream detected.
|
![]() ![]() |
Z_STREAM_ERROR |
Stream structure is inconsistent (input/output buffers are null for example).
|
![]() ![]() |
Z_VERSION_ERROR |
Incompatible ZLIB version.
|