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

ZLibOption()

Properties

hashCode int

Get a hash code for this object.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

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