pub unsafe fn check_bytes_with_context<T, C, E>(
    value: *const T,
    context: &mut C
) -> Result<(), E>
where T: CheckBytes<C, E> + ?Sized, C: ?Sized,
Expand description

Checks whether the given pointer points to a valid value within the given context.

Safety

The passed pointer must be aligned and point to enough initialized bytes to represent the type.