pub fn size_prefixed_root_as_request_with_opts<'b, 'o>(
opts: &'o VerifierOptions,
buf: &'b [u8]
) -> Result<Request<'b>, InvalidFlatbuffer>
Expand description
Verifies, with the given verifier options, that a buffer of
bytes contains a size prefixed Request
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_request_unchecked
.