pub unsafe fn read_bytes(ptr: *const u8, len: usize) -> Vec<u8> ⓘ
Read bytes from a pointer.
The pointer must be valid and the length must be correct.