W3cubDocs

/Dart 2

ZLibCodec constructor

ZLibCodec({int level: ZLibOption.defaultLevel, int windowBits: ZLibOption.defaultWindowBits, int memLevel: ZLibOption.defaultMemLevel, int strategy: ZLibOption.strategyDefault, List<int> dictionary, bool raw: false, bool gzip: false })

Implementation

ZLibCodec(
    {this.level: ZLibOption.defaultLevel,
    this.windowBits: ZLibOption.defaultWindowBits,
    this.memLevel: ZLibOption.defaultMemLevel,
    this.strategy: ZLibOption.strategyDefault,
    this.dictionary,
    this.raw: false,
    this.gzip: false}) {
  _validateZLibeLevel(level);
  _validateZLibMemLevel(memLevel);
  _validateZLibStrategy(strategy);
  _validateZLibWindowBits(windowBits);
}

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