W3cubDocs

/Dart 2

asUtf8Sink method

ByteConversionSink asUtf8Sink (bool allowMalformed)

Returns this as a sink that accepts UTF-8 input.

If used, this method must be the first and only call to this. It invalidates this. All further operations must be performed on the result.

Implementation

ByteConversionSink asUtf8Sink(bool allowMalformed);

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