strategy property

int strategy
final

Tunes the compression algorithm. Use the value ZLibOption.strategyDefault for normal data, ZLibOption.strategyFiltered for data produced by a filter (or predictor), ZLibOption.strategyHuffmanOnly to force Huffman encoding only (no string match), or ZLibOption.strategyRle to limit match distances to one (run-length encoding).

Implementation

final int strategy;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/ZLibEncoder/strategy.html