pub struct Process { /* private fields */ }Implementations§
source§impl Process
impl Process
sourcepub fn read_memory<T>(
&self,
read_into: *mut T,
address: u32
) -> Result<u32, NEXMemoryError>
pub fn read_memory<T>( &self, read_into: *mut T, address: u32 ) -> Result<u32, NEXMemoryError>
Reads the value inside [address] and inserts it into the [read_into].
Usage
let mut variable: u32 = 0;
process.read_memory(&mut variable, 0x000000);