On this page
startChunkedConversion method
ByteConversionSink startChunkedConversion(Start a chunked conversion using the options given to the ZLibEncoder constructor. While it accepts any Sink taking List<int>
's, the optimal sink to be passed as sink
is a ByteConversionSink.
Source
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.dartlang.org/stable/1.24.3/dart-io/ZLibEncoder/startChunkedConversion.html