GZipCodec constructor

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

Implementation

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