Utf8Decoder class

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

Inheritance

Constructors

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

Properties

hashCodeint
read-only, inherited
The hash code for this object. [...]
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.

Methods

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

Operators

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

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-convert/Utf8Decoder-class.html