Dart SDK
dart:convert
Utf8Encoder
class
Utf8Encoder
Constructors
Methods
Constructors
Utf8Encoder
Methods
convert
startChunkedConversion
bind
fuse
fuse
This class converts strings to their UTF-8 code units (a list of unsigned 8-bit integers).
Extends
Object
Converter
<
String
,
List
<
int
>>
Utf8Encoder
Constructors
Utf8Encoder
()
const
Methods
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.
bind
(
Stream
<
String
>
stream
) →
Stream
<
List
<
int
>>
Transform the incoming [stream]'s events.
fuse
(
Converter
<
List
<
int
>>
other
) →
Converter
<
String
>
inherited
Fuses this with other.
fuse
(
Converter
<
List
<
int
>>
other
) →
Converter
<
String
>
inherited
Fuses this with other.