flatbuffers

Function follow_cast_ref

Source
pub unsafe fn follow_cast_ref<'a, T: Sized + 'a>(
    buf: &'a [u8],
    loc: usize,
) -> &'a T
Expand description

ยงSafety

buf must contain a value of T at loc and have alignment of 1