pub unsafe fn size_prefixed_root_unchecked<'buf, T>(
data: &'buf [u8],
) -> T::Innerwhere
T: Follow<'buf> + 'buf,Expand description
Gets root for a trusted, size prefixed, Flatbuffer.
ยงSafety
Flatbuffers accessors do not perform validation checks before accessing. Unlike the other
root functions, this does not validate the flatbuffer before returning the accessor. Users
must trust data contains a valid flatbuffer (e.g. b/c it was built by your software). Reading
unchecked buffers may cause panics or even UB.