asUtf8Sink method

  1. @override
ByteConversionSink asUtf8Sink(
  1. bool allowMalformed
)
override

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

@override
ByteConversionSink asUtf8Sink(bool allowMalformed) => stringConversionSink.asUtf8Sink(allowMalformed);