repy_api.mem.raw: This module provides direct access to data N64Recompiled memory, without any kind of byteswapping or type-casting. More...
| memoryview | repy_api.mem.raw.create_raw_memoryview (int ptr, int size) |
| Create a Python memoryview object granting direct, raw access to recompiled memory. |
repy_api.mem.raw: This module provides direct access to data N64Recompiled memory, without any kind of byteswapping or type-casting.
| memoryview repy_api.mem.raw.create_raw_memoryview | ( | int | ptr, |
| int | size ) |
Create a Python memoryview object granting direct, raw access to recompiled memory.
Be advised that using a memoryview on a non-N64Recompiled thread may be unsafe.
| ptr | The mod memory address to write to. |
| size | The maximum size of the memory to write. |
| RuntimeError | if called from a thread not created by N64Recompiled. |