dart:io
ZLibOption class
Exposes ZLib options for input parameters.
See http://www.zlib.net/manual.html for more documentation.
Constructors
- ZLibOption()
Properties
- hashCode → int
read-only, inherited
- The hash code for this object. [...]
- runtimeType → Type
read-only, inherited
- A representation of the runtime type of the object.
Methods
- noSuchMethod(Invocation invocation) → dynamic
inherited
- Invoked when a non-existent method or property is accessed. [...]
- toString() → String
inherited
- Returns a string representation of this object.
Operators
- operator ==(dynamic other) → bool
inherited
- The equality operator. [...]
Constants
- DEFAULT_LEVEL → const int
-
6
- DEFAULT_MEM_LEVEL → const int
-
8
- DEFAULT_WINDOW_BITS → const int
-
15
- 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
- MAX_LEVEL → const int
-
9
- MAX_MEM_LEVEL → const int
-
9
- MAX_WINDOW_BITS → const int
-
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
- MIN_LEVEL → const int
-
-1
- MIN_MEM_LEVEL → const int
-
1
- MIN_WINDOW_BITS → const int
-
8
- 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
- STRATEGY_DEFAULT → const int
-
0
- STRATEGY_FILTERED → const int
-
1
- STRATEGY_FIXED → const int
-
4
- STRATEGY_HUFFMAN_ONLY → const int
-
2
- STRATEGY_RLE → const int
-
3
- 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