W3cubDocs

/Dart 2

RawZLibFilter.deflateFilter constructor

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 })

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.5.0/dart-io/RawZLibFilter/RawZLibFilter.deflateFilter.html