Function vortex_flatbuffers::scalar::root_as_scalar

source ยท
pub fn root_as_scalar(buf: &[u8]) -> Result<Scalar<'_>, InvalidFlatbuffer>
Expand description

Verifies that a buffer of bytes contains a Scalar and returns it. Note that verification is still experimental and may not catch every error, or be maximally performant. For the previous, unchecked, behavior use root_as_scalar_unchecked.