This class provides a mixin for converters that need to accept String inputs.

Implements
Implemented by

Constructors

StringConversionSinkMixin()

Methods

add(String str) → void

Adds chunked data to this sink.

addSlice(String str, int start, int end, bool isLast) → void

Adds the next chunk to this.

asStringSink() → ClosableStringSink

Returns this as a ClosableStringSink.

asUtf8Sink(bool allowMalformed) → ByteConversionSink

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

close() → void

Closes the sink.