Google is committed to advancing racial equity for Black communities. See how.

read method

  • @override

ByteData read (int offset, int size)

Reads from the "VMO".

Implementation

@override
ByteData read(int offset, int size) {
  var reading = ByteData(size);
  reading.buffer
      .asUint8List()
      .setAll(0, bytes.buffer.asUint8List(offset, size));
  return reading;
}