Utf8Decoder class Null safety

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
cast<RS, RT>() Converter<RS, RT>
Provides a Converter<RS, RT> view of this stream transformer. [...]
inherited
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
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
startChunkedConversion(Sink<String> sink) ByteConversionSink
Starts a chunked conversion. [...]
override
toString() String
A string representation of this object. [...]
inherited

Operators

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