pub fn deserialize_data_from<'de, R, T, S, E>(reader: R, size_limit: S) -> Result<T>
where
    R: Read,
    T: de::Deserialize<'de>,
    S: SizeLimit,
    E: ByteOrder,
{
    let mut deserializer = Deserializer::<_, S, E>::new(reader, size_limit);
    de::Deserialize::deserialize(&mut deserializer)
}
/// Deserializes an object directly from a `Read`.
Deserializes an object directly from a `Read`.
Deserializes an object directly from a ` Read ` .
pub fn deserialize_data_from<'de, R, T, S, E>(reader: R, size_limit: S) -> Result<T>
where
    R: Read,
    T: de::Deserialize<'de>,
    S: SizeLimit,
    E: ByteOrder,
{
    let mut deserializer = Deserializer::<_, S, E>::new(reader, size_limit);
    de::Deserialize::deserialize(&mut deserializer)
}
pub fn deserialize_data_from < ' de , R , T , S , E > ( reader : R , size_limit : S ) -> Result < T > where R : Read , T : de :: Deserialize < ' de > , S : SizeLimit , E : ByteOrder , { let mut deserializer = Deserializer :: < _ , S , E > :: new ( reader , size_limit ) ; de :: Deserialize :: deserialize ( & mut deserializer ) }
Deserializes an object directly from a `Read`.
Deserializes an object directly from a ` Read ` .
reader
R
size_limit
S