strategy property

int strategy
final

Tunes the compression algorithm. Use the value strategyDefault for normal data, strategyFiltered for data produced by a filter (or predictor), strategyHuffmanOnly to force Huffman encoding only (no string match), or 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/ZLibCodec/strategy.html