ZLibCodec constructor

ZLibCodec({int level: ZLibOption.defaultLevel, int windowBits: ZLibOption.defaultWindowBits, int memLevel: ZLibOption.defaultMemLevel, int strategy: ZLibOption.strategyDefault, List<int> dictionary: null, 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: null,
    this.raw: false,
    this.gzip: false}) {
  _validateZLibeLevel(level);
  _validateZLibMemLevel(memLevel);
  _validateZLibStrategy(strategy);
  _validateZLibWindowBits(windowBits);
}