Exposes ZLib options for input parameters.
See http://www.zlib.net/manual.html for more documentation.
Constants
- int DEFAULT_LEVEL = 6
-
const
Default value for ZLibCodec.level, ZLibEncoder.level and ZLibDecoder.level.
- int DEFAULT_MEM_LEVEL = 8
-
const
Default value for ZLibCodec.memLevel, ZLibEncoder.memLevel and ZLibDecoder.memLevel.
- int DEFAULT_WINDOW_BITS = 15
-
const
Default value for ZLibCodec.windowBits, ZLibEncoder.windowBits and ZLibDecoder.windowBits.
- int MAX_LEVEL = 9
-
const
Maximal value for ZLibCodec.level, ZLibEncoder.level and ZLibDecoder.level.
- int MAX_MEM_LEVEL = 9
-
const
Maximal value for ZLibCodec.memLevel, ZLibEncoder.memLevel and ZLibDecoder.memLevel.
- int MAX_WINDOW_BITS = 15
-
const
Maximal value for ZLibCodec.windowBits, ZLibEncoder.windowBits and ZLibDecoder.windowBits.
- int MIN_LEVEL = -1
-
const
Minimal value for ZLibCodec.level, ZLibEncoder.level and ZLibDecoder.level.
- int MIN_MEM_LEVEL = 1
-
const
Minimal value for ZLibCodec.memLevel, ZLibEncoder.memLevel and ZLibDecoder.memLevel.
- int MIN_WINDOW_BITS = 8
-
const
Minimal value for ZLibCodec.windowBits, ZLibEncoder.windowBits and ZLibDecoder.windowBits.
- int STRATEGY_DEFAULT = 0
-
const
Recommended strategy for normal data
- int STRATEGY_FILTERED = 1
-
const
Recommended strategy for data produced by a filter (or predictor)
- int STRATEGY_FIXED = 4
-
const
This strategy prevents the use of dynamic Huffman codes, allowing for a simpler decoder
- int STRATEGY_HUFFMAN_ONLY = 2
-
const
Use this strategy to force Huffman encoding only (no string match)
- int STRATEGY_RLE = 3
-
const
Use this strategy to limit match distances to one (run-length encoding)