public class ZlibConstants extends Object
A bunch of constants used in the Zlib interface.
Modifier and Type | Field and Description |
---|---|
static int |
WindowBitsDefault
The default number of window bits for the Deflate algorithm.
|
static int |
WindowBitsMax
The maximum number of window bits for the Deflate algorithm.
|
static int |
WorkingBufferSizeDefault
The size of the working buffer used in the ZlibCodec class.
|
static int |
WorkingBufferSizeMin
The minimum size of the working buffer used in the ZlibCodec class.
|
static int |
Z_BUF_ERROR
There was an error with the working buffer.
|
static int |
Z_DATA_ERROR
There was an error with the data - not enough data, bad data, etc.
|
static int |
Z_NEED_DICT
The operation ended in need of a dictionary.
|
static int |
Z_OK
indicates everything is A-OK
|
static int |
Z_STREAM_END
Indicates that the last operation reached the end of the stream.
|
static int |
Z_STREAM_ERROR
There was an error with the stream - not enough data, not open and readable, etc.
|
Constructor and Description |
---|
ZlibConstants() |
public static final int WindowBitsMax
The maximum number of window bits for the Deflate algorithm.
public static final int WindowBitsDefault
The default number of window bits for the Deflate algorithm.
public static final int Z_OK
indicates everything is A-OK
public static final int Z_STREAM_END
Indicates that the last operation reached the end of the stream.
public static final int Z_NEED_DICT
The operation ended in need of a dictionary.
public static final int Z_STREAM_ERROR
There was an error with the stream - not enough data, not open and readable, etc.
public static final int Z_DATA_ERROR
There was an error with the data - not enough data, bad data, etc.
public static final int Z_BUF_ERROR
There was an error with the working buffer.
public static final int WorkingBufferSizeDefault
The size of the working buffer used in the ZlibCodec class. Defaults to 8192 bytes.
public static final int WorkingBufferSizeMin
The minimum size of the working buffer used in the ZlibCodec class. Currently it is 128 bytes.
Copyright © 2016 Aspose. All Rights Reserved.