CopyAddress

Trait CopyAddress 

Source
pub trait CopyAddress {
    // Required method
    fn copy_address(&self, addr: usize, buf: &mut [u8]) -> Result<()>;
}
Expand description

A trait that provides a method for reading memory from another process.

Required Methods§

Source

fn copy_address(&self, addr: usize, buf: &mut [u8]) -> Result<()>

Try to copy buf.len() bytes from addr in the process self, placing them in buf.

Implementors§

Source§

impl CopyAddress for ProcessHandle

Use ReadProcessMemory to read memory from another process on Windows.