Utf8Decoder class

This class converts UTF-8 code units (lists of unsigned 8-bit integers) to a string.

Inheritance

Constructors

Utf8Decoder({bool allowMalformed: false })
Instantiates a new Utf8Decoder. [...]
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

bind(Stream<List<int>> stream) Stream<String>
Transforms the provided stream. [...]
override
convert(List<int> codeUnits, [ int start = 0, int end ]) String
Converts the UTF-8 codeUnits (a list of unsigned 8-bit integers) to the corresponding string. [...]
override
fuse<T>(Converter<String, T> next) Converter<List<int>, T>
Fuses this with other. [...]
override
startChunkedConversion(Sink<String> sink) ByteConversionSink
Starts a chunked conversion. [...]
override
cast<RS, RT>() Converter<RS, RT>
Provides a Converter<RS, RT> view of this stream transformer. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited