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