Function vortex_flatbuffers::array::root_as_array_data
source ยท pub fn root_as_array_data(
buf: &[u8],
) -> Result<ArrayData<'_>, InvalidFlatbuffer>
Expand description
Verifies that a buffer of bytes contains a ArrayData
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_data_unchecked
.