Utf8Encoder class
This class converts strings to their UTF-8 code units (a list of unsigned 8-bit integers).
Constructors
- Utf8Encoder() const
Properties
- hashCode → int read-only, inherited
-
The hash code for this object.
- runtimeType → Type read-only, inherited
-
A representation of the runtime type of the object.
Operators
- operator ==(
other) → bool inherited -
The equality operator.
Methods
- bind(
Stream<String> stream) → Stream<List<int>> -
Transforms the provided
stream
. - convert(
String string, [ int start = 0, int end ]) → List<int> -
Converts
string
to its UTF-8 code units (a list of unsigned 8-bit integers). - startChunkedConversion(
Sink<List<int>> sink) → StringConversionSink -
Starts a chunked conversion.
- fuse<TT>(
Converter<List<int>, TT> other) → Converter<String, TT> inherited -
Fuses
this
withother
. - 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/Utf8Encoder-class.html