readNextBlock method

  1. @override
BlockReader? readNextBlock(
  1. Map<String, int> types
)
override

Implementation

@override
BlockReader? readNextBlock(Map<String, int> types) {
  if (isEOF()) {
    return null;
  }
  int blockType = readUint8();
  int length = readUint32();
  return BlockReader.fromBlock(blockType, readBytes(length));
}