readVectorBytes method

List<Uint8List> readVectorBytes()

Read List

Implementation

List<Uint8List> readVectorBytes() {
  final ctor = readInt32();
  assert(ctor == _vectorCtor, 'Invalid type.');

  final count = readInt32();
  final items = <Uint8List>[];

  for (int i = 0; i < count; i++) {
    items.add(readBytes());
  }

  return items;
}