pub unsafe fn read_any<T>(ptr: *const u8) -> T
Helper function to read a u* pointer to a value of type T.
ptr must be valid it’s size and it’s memory size must be the size of T or higher.