Function chiter::read_object[][src]

pub fn read_object<T: From<Vec<u8>>>(address: usize, length: usize) -> T

Reads an Value from the specified address

Arguments

  • address Address of the starting point of the Value
  • length Size of the Value. Note that this is not actually the size of the value, but the size of bytes needed for the From::from conversion

Example

let data_array = read_object<Vec<u8>>(0x6473AA4, 24);