pub unsafe fn follow_pointer_path<const I: usize, T>(
    base: *const u8,
    offsets: [usize; I]
) -> *const T
Expand description

Resolves multilevel pointer.

Behavior

It begins from adding to base first offset and reading a value on this address, assigns to base readed value and so on.

Safety

You need to make sure beforehand that all offsets will lead to valid memory addresses.