An AsciiCodec allows encoding strings as ASCII bytes and decoding ASCII bytes to strings.
Properties
Constructors
- AsciiCodec({bool allowInvalid: false})
-
const
Instantiates a new AsciiCodec.…
Methods
-
decode(
List<int> bytes, {bool allowInvalid}) → String -
Decodes the ASCII
bytes
(a list of unsigned 7-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
.…