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

Inheritance

Constructors

Utf8Encoder()
const

Methods

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

Transform the incoming stream's events.

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).

fuse(Converter<List<int>> other) → Converter<String>
inherited

Fuses this with other.

startChunkedConversion(Sink<List<int>> sink) → StringConversionSink

Starts a chunked conversion.