ZLibOption class
Exposes ZLib options for input parameters.
See http://www.zlib.net/manual.html for more documentation.
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Constants
- DEFAULT_LEVEL → const int
-
Default value for
ZLibCodec.level
andZLibEncoder.level
.6
- DEFAULT_MEM_LEVEL → const int
-
Default value for
ZLibCodec.memLevel
andZLibEncoder.memLevel
.8
- DEFAULT_WINDOW_BITS → const int
-
Default value for
ZLibCodec.windowBits
,ZLibEncoder.windowBits
andZLibDecoder.windowBits
.15
- MAX_LEVEL → const int
-
Maximal value for
ZLibCodec.level
andZLibEncoder.level
9
- MAX_MEM_LEVEL → const int
-
Maximal value for
ZLibCodec.memLevel
andZLibEncoder.memLevel
.9
- MAX_WINDOW_BITS → const int
-
Maximal value for
ZLibCodec.windowBits
,ZLibEncoder.windowBits
andZLibDecoder.windowBits
.15
- MIN_LEVEL → const int
-
Minimal value for
ZLibCodec.level
andZLibEncoder.level
.-1
- MIN_MEM_LEVEL → const int
-
Minimal value for
ZLibCodec.memLevel
andZLibEncoder.memLevel
.1
- MIN_WINDOW_BITS → const int
-
Minimal value for
ZLibCodec.windowBits
,ZLibEncoder.windowBits
andZLibDecoder.windowBits
.8
- STRATEGY_DEFAULT → const int
-
Recommended strategy for normal data
0
- STRATEGY_FILTERED → const int
-
Recommended strategy for data produced by a filter (or predictor)
1
- STRATEGY_FIXED → const int
-
This strategy prevents the use of dynamic Huffman codes, allowing for a
simpler decoder
4
- STRATEGY_HUFFMAN_ONLY → const int
-
Use this strategy to force Huffman encoding only (no string match)
2
- STRATEGY_RLE → const int
-
Use this strategy to limit match distances to one (run-length encoding)
3