ZLibOption abstract class
Exposes ZLib options for input parameters.
See http://www.zlib.net/manual.html for more documentation.
Constants
- DEFAULT_LEVEL → int
-
Default value for ZLibCodec.level, ZLibEncoder.level and
ZLibDecoder.level
.6
- DEFAULT_MEM_LEVEL → int
-
Default value for ZLibCodec.memLevel, ZLibEncoder.memLevel and
ZLibDecoder.memLevel
.8
- DEFAULT_WINDOW_BITS → int
-
Default value for ZLibCodec.windowBits, ZLibEncoder.windowBits and ZLibDecoder.windowBits.
15
- MAX_LEVEL → int
-
Maximal value for ZLibCodec.level, ZLibEncoder.level and
ZLibDecoder.level
.9
- MAX_MEM_LEVEL → int
-
Maximal value for ZLibCodec.memLevel, ZLibEncoder.memLevel and
ZLibDecoder.memLevel
.9
- MAX_WINDOW_BITS → int
-
Maximal value for ZLibCodec.windowBits, ZLibEncoder.windowBits and ZLibDecoder.windowBits.
15
- MIN_LEVEL → int
-
Minimal value for ZLibCodec.level, ZLibEncoder.level and
ZLibDecoder.level
.-1
- MIN_MEM_LEVEL → int
-
Minimal value for ZLibCodec.memLevel, ZLibEncoder.memLevel and
ZLibDecoder.memLevel
.1
- MIN_WINDOW_BITS → int
-
Minimal value for ZLibCodec.windowBits, ZLibEncoder.windowBits and ZLibDecoder.windowBits.
8
- STRATEGY_DEFAULT → int
-
Recommended strategy for normal data
0
- STRATEGY_FILTERED → int
-
Recommended strategy for data produced by a filter (or predictor)
1
- STRATEGY_FIXED → int
-
This strategy prevents the use of dynamic Huffman codes, allowing for a simpler decoder
4
- STRATEGY_HUFFMAN_ONLY → int
-
Use this strategy to force Huffman encoding only (no string match)
2
- STRATEGY_RLE → int
-
Use this strategy to limit match distances to one (run-length encoding)
3
Constructors
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.
Operators
- operator ==(
other) → bool inherited -
The equality operator.
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.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-io/ZLibOption-class.html