Function rkyv::validation::check_archived_root_with_context
source · [−]pub fn check_archived_root_with_context<'a, T, C>(
buf: &'a [u8],
context: &mut C
) -> Result<&'a T::Archived, CheckTypeError<T::Archived, C>> where
T: Archive,
T::Archived: CheckBytes<C> + Pointee<Metadata = ()>,
C: ArchiveContext + ?Sized,
Expand description
Checks the given archive with an additional context.
See check_archived_value
for more details.