pub fn size_prefixed_root_as_package(
        buf: &[u8],
    ) -> Result<Package, flatbuffers::InvalidFlatbuffer> {
        flatbuffers::size_prefixed_root::<Package>(buf)
    }
/// Verifies that a buffer of bytes contains a size prefixed
/// `Package` 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_package_unchecked`.
Verifies that a buffer of bytes contains a size prefixed
`Package` 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_package_unchecked`.
Verifies that a buffer of bytes contains a size prefixed ` Package ` 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_package_unchecked ` .
pub fn size_prefixed_root_as_package(
        buf: &[u8],
    ) -> Result<Package, flatbuffers::InvalidFlatbuffer> {
        flatbuffers::size_prefixed_root::<Package>(buf)
    }
pub fn size_prefixed_root_as_package ( buf : & [ u8 ] , ) -> Result < Package , flatbuffers :: InvalidFlatbuffer > { flatbuffers :: size_prefixed_root :: < Package > ( buf ) }
Verifies that a buffer of bytes contains a size prefixed
`Package` and returns it.
Verifies that a buffer of bytes contains a size prefixed ` Package ` and returns it .
buf
&[u8]
buf
&[u8]