Open-ended Encoding enum.

Inheritance
Implemented by

Constructors

Encoding()

const

Properties

decoder Converter<List<int>, String>

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

read-only
name String

Name of the encoding.

read-only
hashCode int

The hash code for this object.

read-only, inherited
inverted Codec<T, S>

Inverts this.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Methods

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

decode(T encoded) → S

inherited
encode(S input) → T

inherited
fuse<R>(Codec<T, R> other) Codec<S, R>

Fuses this with other.

inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.

inherited

Operators

operator ==(other) bool

The equality operator.

inherited

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).