pub fn safe_read(ptr: *mut c_void, size: usize) -> Result<Vec<u8>, ReadError>
Safely read size bytes from the address in ptr.
size
ptr