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

read method

ReadResult read (int numBytes, [int vmoOffset = 0])

Implementation

ReadResult read(int numBytes, [int vmoOffset = 0]) {
  if (handle == null) {
    return const ReadResult(ZX.ERR_INVALID_ARGS);
  }

  return System.vmoRead(handle, vmoOffset, numBytes);
}