W3cubDocs

/Dart 2

Utf8Encoder class

This class converts strings to their UTF-8 code units (a list of unsigned 8-bit integers).

Inheritance

Constructors

Utf8Encoder()
const

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<String> stream) → Stream<List<int>>
override
Transforms the provided stream. [...]
convert(String string, [ int start = 0, int end ]) → Uint8List
override
Converts string to its UTF-8 code units (a list of unsigned 8-bit integers). [...]
startChunkedConversion(Sink<List<int>> sink) → StringConversionSink
override
Starts a chunked conversion. [...]
cast<RS, RT>() → Converter<RS, RT>
inherited
Provides a Converter<RS, RT> view of this stream transformer. [...]
fuse<TT>(Converter<List<int>, TT> other) → Converter<String, TT>
inherited
Fuses this with other. [...]
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/Utf8Encoder-class.html