/// Create a new deserializer with IDL binary message.
Create a new deserializer with IDL binary message.
Create a new deserializer with IDL binary message .
pub fn new(bytes: &'de [u8]) -> Result<Self> {
        let de = Deserializer::from_bytes(bytes)
            .with_context(|| format!("Cannot parse header {}", &hex::encode(bytes)))?;
        Ok(IDLDeserialize { de })
    }
pub fn new ( bytes : & ' de [ u8 ] ) -> Result < Self > { let de = Deserializer :: from_bytes ( bytes ) . with_context ( | | format ! ( " " hex encode ( bytes ) ) ) ? ; Ok ( IDLDeserialize { de } ) }
Create a new deserializer with IDL binary message.
Create a new deserializer with IDL binary message .
bytes
&'de [u8]