Open-ended Encoding enum.

Inheritance
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

decoder Converter<List<int>,String>
read-only, inherited

Returns the decoder of this, converting from T to S.

encoder Converter<String,List<int>>
read-only, inherited

Returns the encoder from S to T.

inverted Codec<List<int>,String>
read-only, inherited

Inverts this.

name String
read-only

Name of the encoding.

Constructors

Encoding()
const

Methods

decode(List<int> encoded) → String
inherited

decodeStream(Stream<List<int>> byteStream) → Future<String>

encode(String input) → List<int>
inherited

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

Fuses this with other.