startChunkedConversion 方法

ByteConversionSink startChunkedConversion(
  1. Sink<List<int>> sink
)
override

启动分块转换。

接受任何 Sink<List<int>>,但优先选择 ByteConversionSink,并在使用之前将任何其他接收器转换为 ByteConversionSink

实现

ByteConversionSink startChunkedConversion(Sink<List<int>> sink) {
  if (sink is! ByteConversionSink) {
    sink = new ByteConversionSink.from(sink);
  }
  return new _ZLibDecoderSink._(sink, windowBits, dictionary, raw);
}