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.

const 6
DEFAULT_MEM_LEVEL → int

Default value for ZLibCodec.memLevel, ZLibEncoder.memLevel and ZLibDecoder.memLevel.

const 8
DEFAULT_WINDOW_BITS → int

Default value for ZLibCodec.windowBits, ZLibEncoder.windowBits and ZLibDecoder.windowBits.

const 15
MAX_LEVEL → int

Maximal value for ZLibCodec.level, ZLibEncoder.level and ZLibDecoder.level.

const 9
MAX_MEM_LEVEL → int

Maximal value for ZLibCodec.memLevel, ZLibEncoder.memLevel and ZLibDecoder.memLevel.

const 9
MAX_WINDOW_BITS → int

Maximal value for ZLibCodec.windowBits, ZLibEncoder.windowBits and ZLibDecoder.windowBits.

const 15
MIN_LEVEL → int

Minimal value for ZLibCodec.level, ZLibEncoder.level and ZLibDecoder.level.

const -1
MIN_MEM_LEVEL → int

Minimal value for ZLibCodec.memLevel, ZLibEncoder.memLevel and ZLibDecoder.memLevel.

const 1
MIN_WINDOW_BITS → int

Minimal value for ZLibCodec.windowBits, ZLibEncoder.windowBits and ZLibDecoder.windowBits.

const 8
STRATEGY_DEFAULT → int

Recommended strategy for normal data

const 0
STRATEGY_FILTERED → int

Recommended strategy for data produced by a filter (or predictor)

const 1
STRATEGY_FIXED → int

This strategy prevents the use of dynamic Huffman codes, allowing for a simpler decoder

const 4
STRATEGY_HUFFMAN_ONLY → int

Use this strategy to force Huffman encoding only (no string match)

const 2
STRATEGY_RLE → int

Use this strategy to limit match distances to one (run-length encoding)

const 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