pub fn decode_manifest(bytes: &[u8]) -> Result<Manifest, String> {
    use prost::Message;
    use std::convert::TryInto;

    let pb_manifest = pb::Manifest::decode(bytes)
        .map_err(|err| format!("failed to decode Manifest proto {}", err))?;
    pb_manifest
        .try_into()
        .map_err(|err| format!("failed to convert Manifest proto into an object: {}", err))
}
/// Deserializes the manifest from a byte array.
Deserializes the manifest from a byte array.
Deserializes the manifest from a byte array .
pub fn decode_manifest(bytes: &[u8]) -> Result<Manifest, String> {
    use prost::Message;
    use std::convert::TryInto;
    let pb_manifest = pb::Manifest::decode(bytes)
        .map_err(|err| format!("failed to decode Manifest proto {}", err))?;
    pb_manifest
        .try_into()
        .map_err(|err| format!("failed to convert Manifest proto into an object: {}", err))
}
pub fn decode_manifest ( bytes : & [ u8 ] ) -> Result < Manifest , String > { use prost :: Message ; use std :: convert :: TryInto ; let pb_manifest = pb :: Manifest :: decode ( bytes ) . map_err ( | err | format ! ( " " err ) ) ? ; pb_manifest . try_into ( ) . map_err ( | err | format ! ( " " err ) ) }
Deserializes the manifest from a byte array.
Deserializes the manifest from a byte array .
bytes
&[u8]
bytes
&[u8]