readBlocks method

List<Uint8List> readBlocks()

Reads a lists of bytes blocks. Uses readBlock32.

Implementation

List<Uint8List> readBlocks() {
  var sz = readInt32();
  var blocks = List.generate(sz, (i) => readBlock32());
  return blocks;
}