convert method
override
Converts input
and returns the result of the conversion.
Implementation
List<int> convert(String string) {
var buffer = new Uint8Buffer();
var lastDigit = _decode(string.codeUnits, 0, string.length, buffer);
if (lastDigit != null) {
throw new FormatException(
"Input ended with incomplete encoded byte.", string, string.length);
}
return buffer.buffer.asUint8List(0, buffer.length);
}