ZLibOption class abstract final

Exposes ZLib options for input parameters.

See http://www.zlib.net/manual.html for more documentation.

Constructors

ZLibOption()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

defaultLevel → const int
Default value for ZLibCodec.level and ZLibEncoder.level.
6
defaultMemLevel → const int
Default value for ZLibCodec.memLevel and ZLibEncoder.memLevel.
8
defaultWindowBits → const int
Default value for ZLibCodec.windowBits, ZLibEncoder.windowBits and ZLibDecoder.windowBits.
15
maxLevel → const int
Maximal value for ZLibCodec.level and ZLibEncoder.level
9
maxMemLevel → const int
Maximal value for ZLibCodec.memLevel and ZLibEncoder.memLevel.
9
maxWindowBits → const int
Maximal value for ZLibCodec.windowBits, ZLibEncoder.windowBits and ZLibDecoder.windowBits.
15
minLevel → const int
Minimal value for ZLibCodec.level and ZLibEncoder.level.
-1
minMemLevel → const int
Minimal value for ZLibCodec.memLevel and ZLibEncoder.memLevel.
1
minWindowBits → const int
Minimal value for ZLibCodec.windowBits, ZLibEncoder.windowBits and ZLibDecoder.windowBits.
8
strategyDefault → const int
Recommended strategy for normal data
0
strategyFiltered → const int
Recommended strategy for data produced by a filter (or predictor)
1
strategyFixed → const int
This strategy prevents the use of dynamic Huffman codes, allowing for a simpler decoder
4
strategyHuffmanOnly → const int
Use this strategy to force Huffman encoding only (no string match)
2
strategyRle → const int
Use this strategy to limit match distances to one (run-length encoding)
3