class
Latin1Codec

A LatinCodec encodes strings to ISO Latin-1 (aka ISO-8859-1) bytes and decodes Latin-1 bytes to strings.

Extends

Properties

String name
read-only
Converter<String,List<int>> encoder
read-only
Converter<List<int>,String> decoder
read-only
Codec<List<int>,String> inverted
read-only , inherited
Inverts this.
Codec<List<int>,String> inverted
read-only , inherited
Inverts this.

Constructors

Latin1Codec({bool allowInvalid: false})
const
Instantiates a new Latin1Codec.

Methods

decode(List<int> bytes, {bool allowInvalid}) → String
Decodes the Latin-1 bytes (a list of unsigned 8-bit integers) to the corresponding string.
encode(String input) → List<int>
inherited
fuse(Codec<List<int>> other) → Codec<String>
inherited
Fuses this with other.
decodeStream(Stream<List<int>> byteStream) → Future<String>
inherited
encode(String input) → List<int>
inherited
fuse(Codec<List<int>> other) → Codec<String>
inherited
Fuses this with other.