Skip to main content

safe_read

Function safe_read 

Source
pub fn safe_read(ptr: *mut c_void, size: usize) -> Result<Vec<u8>, ReadError>
Expand description

Safely read size bytes from the address in ptr.