Zlib.ZlibConstants Class Reference

Detailed Description

A bunch of constants used in the Zlib interface.

Public Attributes

const int WindowBitsMax = 15
 The maximum number of window bits for the Deflate algorithm. More...
 
const int WindowBitsDefault = WindowBitsMax
 The default number of window bits for the Deflate algorithm. More...
 
const int Z_OK = 0
 indicates everything is A-OK More...
 
const int Z_STREAM_END = 1
 Indicates that the last operation reached the end of the stream. More...
 
const int Z_NEED_DICT = 2
 The operation ended in need of a dictionary. More...
 
const int Z_STREAM_ERROR = -2
 There was an error with the stream - not enough data, not open and readable, etc. More...
 
const int Z_DATA_ERROR = -3
 There was an error with the data - not enough data, bad data, etc. More...
 
const int Z_BUF_ERROR = -5
 There was an error with the working buffer. More...
 
const int WorkingBufferSizeDefault = 4096
 The size of the working buffer used in the ZlibCodec class. Defaults to 8192 bytes. More...
 
const int WorkingBufferSizeMin = 1024
 The minimum size of the working buffer used in the ZlibCodec class. Currently it is 128 bytes. More...
 

Member Data Documentation

const int Zlib.ZlibConstants.WindowBitsDefault = WindowBitsMax

The default number of window bits for the Deflate algorithm.

const int Zlib.ZlibConstants.WindowBitsMax = 15

The maximum number of window bits for the Deflate algorithm.

const int Zlib.ZlibConstants.WorkingBufferSizeDefault = 4096

The size of the working buffer used in the ZlibCodec class. Defaults to 8192 bytes.

const int Zlib.ZlibConstants.WorkingBufferSizeMin = 1024

The minimum size of the working buffer used in the ZlibCodec class. Currently it is 128 bytes.

const int Zlib.ZlibConstants.Z_BUF_ERROR = -5

There was an error with the working buffer.

const int Zlib.ZlibConstants.Z_DATA_ERROR = -3

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

const int Zlib.ZlibConstants.Z_NEED_DICT = 2

The operation ended in need of a dictionary.

const int Zlib.ZlibConstants.Z_OK = 0

indicates everything is A-OK

const int Zlib.ZlibConstants.Z_STREAM_END = 1

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

const int Zlib.ZlibConstants.Z_STREAM_ERROR = -2

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