decode method
Implementation
(List<dynamic>, int) decode(int offset, Uint8List data) {
final values = <dynamic>[];
int initial_offset = offset;
int max_offset = 0;
for (final type in types) {
final decoded = decodeParameter(
data: data,
type: type,
offset: offset,
max_offset: max_offset,
header_offset_increment: initial_offset,
);
offset = decoded.offset;
max_offset = max(max_offset, decoded.max_offset);
values.add(decoded.value);
}
max_offset = max(max_offset, offset);
return (values, max_offset);
}