vortex_array::flatbuffers

Function root_as_array

Source
pub fn root_as_array(buf: &[u8]) -> Result<Array<'_>, InvalidFlatbuffer>
Expand description

Verifies that a buffer of bytes contains a Array 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_array_unchecked.