Table of Contents

Class ZlibConstants

Namespace
Ionic.Zlib
Assembly
SunamoDotNetZip.dll

A bunch of constants used in the Zlib interface.

public static class ZlibConstants
Inheritance
ZlibConstants
Inherited Members

Fields

WindowBitsDefault

The default number of window bits for the Deflate algorithm.

public const int WindowBitsDefault = 15

Field Value

int

WindowBitsMax

The maximum number of window bits for the Deflate algorithm.

public const int WindowBitsMax = 15

Field Value

int

WorkingBufferSizeDefault

The size of the working buffer used in the ZlibCodec class.

public const int WorkingBufferSizeDefault = 16384

Field Value

int

WorkingBufferSizeMin

The minimum size of the working buffer used in the ZlibCodec class.

public const int WorkingBufferSizeMin = 1024

Field Value

int

Z_BUF_ERROR

There was an error with the working buffer.

public const int Z_BUF_ERROR = -5

Field Value

int

Z_DATA_ERROR

There was an error with the data - not enough data, bad data, etc.

public const int Z_DATA_ERROR = -3

Field Value

int

Z_NEED_DICT

The operation ended in need of a dictionary.

public const int Z_NEED_DICT = 2

Field Value

int

Z_OK

indicates everything is A-OK

public const int Z_OK = 0

Field Value

int

Z_STREAM_END

Indicates that the last operation reached the end of the stream.

public const int Z_STREAM_END = 1

Field Value

int

Z_STREAM_ERROR

There was an error with the stream - not enough data, not open and readable, etc.

public const int Z_STREAM_ERROR = -2

Field Value

int