RawZLibFilter.deflateFilter constructor

RawZLibFilter.deflateFilter(
  1. {bool gzip = false,
  2. int level = ZLibOption.defaultLevel,
  3. int windowBits = ZLibOption.defaultWindowBits,
  4. int memLevel = ZLibOption.defaultMemLevel,
  5. int strategy = ZLibOption.strategyDefault,
  6. List<int>? dictionary,
  7. bool raw = false}
)

Returns a a RawZLibFilter whose process and processed methods compress data.

Implementation

factory RawZLibFilter.deflateFilter({
  bool gzip = false,
  int level = ZLibOption.defaultLevel,
  int windowBits = ZLibOption.defaultWindowBits,
  int memLevel = ZLibOption.defaultMemLevel,
  int strategy = ZLibOption.strategyDefault,
  List<int>? dictionary,
  bool raw = false,
}) {
  return _makeZLibDeflateFilter(
      gzip, level, windowBits, memLevel, strategy, dictionary, raw);
}

© 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/RawZLibFilter/RawZLibFilter.deflateFilter.html