W3cubDocs

/Dart 2

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

Operators

operator ==(dynamic 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.5.0/dart-convert/Utf8Decoder-class.html