class
Encoding

Open-ended Encoding enum.

Extends
Implemented by

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.