pub fn deserialize<'de, T>(bytes: &[u8]) -> Result<T>
where
    T: serde::Deserialize<'de>,
{
    deserialize_from::<_, _, _>(bytes, Infinite)
}
/// Deserializes a slice of bytes into an object.
Deserializes a slice of bytes into an object.
Deserializes a slice of bytes into an object .
pub fn deserialize<'de, T>(bytes: &[u8]) -> Result<T>
where
    T: serde::Deserialize<'de>,
{
    deserialize_from::<_, _, _>(bytes, Infinite)
}
pub fn deserialize < ' de , T > ( bytes : & [ u8 ] ) -> Result < T > where T : serde :: Deserialize < ' de > , { deserialize_from :: < _ , _ , _ > ( bytes , Infinite ) }
Deserializes a slice of bytes into an object.
Deserializes a slice of bytes into an object .
bytes
&[u8]
bytes
&[u8]