startChunkedConversion method
Start a chunked conversion using the options given to the Lz4Encoder constructor.
While it accepts any Sink taking List's,
the optimal sink to be passed as sink
is a ByteConversionSink.
Implementation
@override
ByteConversionSink startChunkedConversion(Sink<List<int>> sink) {
final byteSink = asByteSink(sink);
return _Lz4EncoderSink._(
byteSink,
level,
fastAcceleration,
contentChecksum,
blockChecksum,
blockLinked,
blockSize,
optimizeForDecompression,
inputBufferLength,
outputBufferLength);
}