The compression-level can be set in the range of -1..9
, with 6
being the default compression level. Levels above 6
will have higher compression rates at the cost of more CPU and memory usage. Levels below 6
will use less CPU and memory at the cost of lower compression rates.
final int level
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-io/ZLibCodec/level.html