ZLibEncoder constructor Null safety
ZLibEncoder(- {bool gzip: false,
- int level: ZLibOption.defaultLevel,
- int windowBits: ZLibOption.defaultWindowBits,
- int memLevel: ZLibOption.defaultMemLevel,
- int strategy: ZLibOption.strategyDefault,
- List<int>? dictionary,
- bool raw: false}
)
Implementation
ZLibEncoder(
{this.gzip: false,
this.level: ZLibOption.defaultLevel,
this.windowBits: ZLibOption.defaultWindowBits,
this.memLevel: ZLibOption.defaultMemLevel,
this.strategy: ZLibOption.strategyDefault,
this.dictionary,
this.raw: false}) {
_validateZLibeLevel(level);
_validateZLibMemLevel(memLevel);
_validateZLibStrategy(strategy);
_validateZLibWindowBits(windowBits);
}