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.

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

bind(Stream<List<int>> stream) → Stream<String>

Transforms the provided stream.

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.

fuse<T>(Converter<String, T> next) → Converter<List<int>, T>

Fuses this with other.

startChunkedConversion(Sink<String> sink) → ByteConversionSink

Starts a chunked conversion.

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.

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