startChunkedConversion method
override
Start a chunked conversion using the options given to the ZLibEncoder constructor.
Accepts any Sink<List<int>>
, but prefers a ByteConversionSink, and converts any other sink to a ByteConversionSink before using it.
Implementation
ByteConversionSink startChunkedConversion(Sink<List<int>> sink) { if (sink is! ByteConversionSink) { sink = new ByteConversionSink.from(sink); } return new _ZLibEncoderSink._( sink, gzip, level, windowBits, memLevel, strategy, dictionary, raw); }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/ZLibEncoder/startChunkedConversion.html