[−][src]Trait remoteprocess::ProcessMemory
Required methods
pub fn read(&self, addr: usize, buf: &mut [u8]) -> Result<(), Error>
[src]
Copies memory from another process into an already allocated byte buffer
Provided methods
pub fn copy(&self, addr: usize, length: usize) -> Result<Vec<u8>, Error>
[src]
Copies a series of bytes from another process. Main difference with 'read' is that this will allocate memory for you
pub fn copy_struct<T>(&self, addr: usize) -> Result<T, Error>
[src]
Copies a structure from another process
pub fn copy_pointer<T>(&self, ptr: *const T) -> Result<T, Error>
[src]
Given a pointer that points to a struct in another process, returns the struct
pub fn copy_vec<T>(&self, addr: usize, length: usize) -> Result<Vec<T>, Error>
[src]
Copies a series of bytes from another process into a vector of structures of type T.