deserializeVector<T> function
Implementation
List<T> deserializeVector<T>(Deserializer deserializer, dynamic deserializeFunc) {
int length = deserializer.deserializeUleb128AsU32();
final list = <T>[];
for (int i = 0; i < length; i += 1) {
list.add(deserializeFunc(deserializer));
}
return list;
}