decode method
ABI-decode from data at byte offset.
Returns (decoded value, bytes consumed from head).
Implementation
@override
(dynamic, int) decode(Uint8List data, int offset) {
final length = _readUint256(data, offset).toInt();
final strBytes = data.sublist(offset + 32, offset + 32 + length);
final consumed = 32 + _padTo32(length);
return (utf8.decode(strBytes), consumed);
}