convert method
Converts input
and returns the result of the conversion.
Implementation
@override
List<int> convert(List<int> input) {
final sink = _Sink(StreamController());
final output = sink._decode(input, 0, input.length);
if (sink._state == _State.end) return output;
throw FormatException('Input ended unexpectedly.', input, input.length);
}