convert abstract method

  1. @override
String convert(
  1. List<int> input, {
  2. bool allowInvalid = false,
})
override

Decodes a sequence of bytes into a string using a code page.

The code page assigns one character to each byte. Values in input must be bytes (integers in the range 0..255).

If allowInvalid is true, non-byte values in input, or byte values not defined as a character in the code page, are emitted as U+FFFD (the Unicode invalid character). If not true, the bytes must be calid and defined characters.

Implementation

@override
String convert(List<int> input, {bool allowInvalid = false});