startChunkedConversion 方法

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

启动分块转换。

接受任何 Sink<List<int>>,但更偏好 ByteConversionSink,并在使用之前将任何其他 sink 转换为 ByteConversionSink

实现

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