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