Dart API Reference
dart:convert
StringConversionSinkMixin
StringConversionSinkMixin
class
This class provides a mixin for converters that need to accept String inputs.
This class provides a mixin for converters that need to accept String inputs.
Implements:
StringConversionSink
Implementors
StringConversionSinkBase
Constructors
StringConversionSinkMixin
( )
Instance Methods
addSlice
(
String
str
,
int
start
,
int
end
,
bool
isLast
) →
void
Adds the next [chunk] to this.
close
( ) →
void
Closes the sink.
add
(
String
str
) →
void
Adds chunked data to this sink.
asUtf8Sink
(
bool
allowMalformed
) →
ByteConversionSink
Returns this as a sink that accepts UTF-8 input.
asStringSink
( ) →
ClosableStringSink
Returns this as a [ClosableStringSink].