arrow_ipc::gen::File

Function size_prefixed_root_as_footer

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

Verifies that a buffer of bytes contains a size prefixed Footer 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 size_prefixed_root_as_footer_unchecked.