This class converts UTF-8 code units (lists of unsigned 8-bit integers) to a string.
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
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
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
withother
. -
startChunkedConversion(
Sink<String> sink) → ByteConversionSink -
Starts a chunked conversion.
-
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