简易解码器(- {整数 level = ZLibOption.defaultLevel,
- 整数 windowBits = ZLibOption.defaultWindowBits,
- 整数 memLevel = ZLibOption.defaultMemLevel,
- 整数 strategy = ZLibOption.strategyDefault,
- 列表<整数>? dictionary,
- 布尔值 raw = false,
- 布尔值 gzip = true}
)
实现
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);
}