Lz4Encoder constructor
Lz4Encoder({
- int level = Lz4Option.defaultLevel,
- bool fastAcceleration = false,
- bool contentChecksum = false,
- bool blockChecksum = false,
- bool blockLinked = true,
- int blockSize = Lz4Option.defaultBlockSize,
- bool optimizeForDecompression = false,
- int inputBufferLength = lz4EncoderInputBufferLength,
- int outputBufferLength = lz4EncoderOutputBufferLength,
Construct an Lz4Encoder with the supplied parameters used by the Lz4 encoder.
Validation will be performed which may result in a RangeError or ArgumentError.
Implementation
Lz4Encoder(
{this.level = Lz4Option.defaultLevel,
this.fastAcceleration = false,
this.contentChecksum = false,
this.blockChecksum = false,
this.blockLinked = true,
this.blockSize = Lz4Option.defaultBlockSize,
this.optimizeForDecompression = false,
this.inputBufferLength = lz4EncoderInputBufferLength,
this.outputBufferLength = lz4EncoderOutputBufferLength}) {
validateLz4Level(level);
validateLz4BlockSize(blockSize);
}