A LatinCodec
encodes strings to ISO Latin-1 (aka ISO-8859-1) bytes
and decodes Latin-1 bytes to strings.
Properties
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.… -
decodeStream(
Stream<List<int>> byteStream) → Future<String> -
inherited
-
encode(
String input) → List<int> -
inherited
-
fuse(
Codec<List<int>> other) → Codec<String> -
inherited
Fuses
this
withother
.…