convert method
Converts input
and returns the result of the conversion.
Implementation
@override
Object? convert(List<int> input) {
_input = ListQueue.from(input);
try {
return _readObject();
} catch (e) {
if (e is FormatException) {
rethrow;
} else if (e is StateError) {
throw FormatException('Malformed rencode ', input);
} else {
rethrow;
}
}
}