startChunkedConversion method
override
Starts a chunked conversion.
The converter works more efficiently if the given sink
is a
StringConversionSink.
Implementation
ByteConversionSink startChunkedConversion(Sink<String> sink) {
StringConversionSink stringSink;
if (sink is StringConversionSink) {
stringSink = sink;
} else {
stringSink = new StringConversionSink.from(sink);
}
return stringSink.asUtf8Sink(_allowMalformed);
}