ZLibOption abstract class

Exposes ZLib options for input parameters.

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

Constants

DEFAULT_LEVELint

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

6
DEFAULT_MEM_LEVELint

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

8
DEFAULT_WINDOW_BITSint

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

15
MAX_LEVELint

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

9
MAX_MEM_LEVELint

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

9
MAX_WINDOW_BITSint

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

15
MIN_LEVELint

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

-1
MIN_MEM_LEVELint

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

1
MIN_WINDOW_BITSint

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

8
STRATEGY_DEFAULTint

Recommended strategy for normal data

0
STRATEGY_FILTEREDint

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

1
STRATEGY_FIXEDint

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

4
STRATEGY_HUFFMAN_ONLYint

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

2
STRATEGY_RLEint

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

3

Constructors

ZLibOption()

Properties

hashCodeint
read-only, inherited

The hash code for this object.

runtimeTypeType
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