Function flatbuffers::size_prefixed_root_with_opts[][src]

pub fn size_prefixed_root_with_opts<'opts, 'buf, T>(
    opts: &'opts VerifierOptions,
    data: &'buf [u8]
) -> Result<T::Inner, InvalidFlatbuffer> where
    T: 'buf + Follow<'buf> + Verifiable

Gets the root of a size prefixed Flatbuffer, verifying it first with given options. Note that verification is an experimental feature and may not be maximally performant or catch every error (though that is the goal). See the _unchecked variants for previous behavior.