startChunkedConversion method

StringConversionSink startChunkedConversion(Sink<String> sink)

Starts a chunked conversion.

The returned sink serves as input for the long-running conversion. The given sink serves as output.

Source

StringConversionSink startChunkedConversion(Sink<String> sink) {
  if (sink is! StringConversionSink) {
    sink = new StringConversionSink.from(sink);
  }
  return new _LineSplitterSink(sink);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-convert/LineSplitter/startChunkedConversion.html