GZipCodec constructor

GZipCodec({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: true })

Implementation

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