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