Dart SDK
dart:convert
Encoding
class
Encoding
Static Methods
Properties
Constructors
Methods
Static methods
getByName
Properties
name
inverted
decoder
encoder
inverted
Constructors
Encoding
Methods
decodeStream
encode
decode
fuse
encode
decode
fuse
Open-ended Encoding enum.
Extends
Object
Codec
<
String
,
List
<
int
>>
Encoding
Implemented by
AsciiCodec
Latin1Codec
SystemEncoding
Utf8Codec
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).
Properties
String
name
read-only
Name of the encoding.
Codec
<
List
<
int
>,
String
>
inverted
read-only ,
inherited
Inverts this.
Converter
<
List
<
int
>,
String
>
decoder
read-only ,
inherited
Returns the decoder of this, converting from [T] to [S].
Converter
<
String
,
List
<
int
>>
encoder
read-only ,
inherited
Returns the encoder from [S] to [T].
Codec
<
List
<
int
>,
String
>
inverted
read-only ,
inherited
Inverts this.
Constructors
Encoding
()
const
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.