Function vortex_flatbuffers::footer::root_as_postscript_with_opts
source ยท pub fn root_as_postscript_with_opts<'b, 'o>(
opts: &'o VerifierOptions,
buf: &'b [u8],
) -> Result<Postscript<'b>, InvalidFlatbuffer>
Expand description
Verifies, with the given options, that a buffer of bytes
contains a Postscript
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_postscript_unchecked
.