Function vortex_flatbuffers::scalar::root_as_scalar_unchecked

source ·
pub unsafe fn root_as_scalar_unchecked(buf: &[u8]) -> Scalar<'_>
Expand description

Assumes, without verification, that a buffer of bytes contains a Scalar and returns it.

§Safety

Callers must trust the given bytes do indeed contain a valid Scalar.