read8 method
Reads 8-bits from mapped physical memory, starting at the specified byte offset, relative to the base address the MMIO handle was opened with.
Implementation
int read8(int offset) {
var data = malloc<Uint8>(1);
try {
_checkError(_nativeMMIOread_8(_mmioHandle, offset, data));
return data.value;
} finally {
malloc.free(data);
}
}