Dart API Reference
dart:convert
Encoding
Encoding
class
Open-ended Encoding enum.
Open-ended Encoding enum.
Extends
Object
Codec
<
String
,
List
<
int
>>
Encoding
Implemented by
AsciiCodec
Latin1Codec
SystemEncoding
Utf8Codec
Constructors
Encoding
()
const
Static Methods
getByName
(
String
name
) →
Encoding
Gets an
Encoding
object from the name of the character set name. The names used are the IANA official names for the character set (see http://www.iana.org/assignments/character-sets/character-sets.xml).
Instance Properties
name
String
read-only
inverted
Codec
<
List
<
int
>,
String
>
Inherited
read-only
decoder
Converter
<
List
<
int
>,
String
>
Inherited
read-only
encoder
Converter
<
String
,
List
<
int
>>
Inherited
read-only
inverted
Codec
<
List
<
int
>,
String
>
Inherited
read-only
Instance Methods
decodeStream
(
Stream
<
List
<
int
>>
byteStream
) →
Future
<
String
>
encode
(
String
input
) →
List
<
int
>
Inherited
decode
(
List
<
int
>
encoded
) →
String
Inherited
fuse
(
Codec
<
List
<
int
>>
other
) →
Codec
<
String
>
Inherited
Fuses this with other.
encode
(
String
input
) →
List
<
int
>
Inherited
decode
(
List
<
int
>
encoded
) →
String
Inherited
fuse
(
Codec
<
List
<
int
>>
other
) →
Codec
<
String
>
Inherited
Fuses this with other.