read_bytes

Function read_bytes 

Source
pub unsafe fn read_bytes(ptr: *const u8, len: usize) -> Vec<u8> 
Expand description

Read bytes from a pointer.

§Safety

The pointer must be valid and the length must be correct.