[][src]Function serde_mtproto::from_reader_reuse

pub fn from_reader_reuse<R, T>(
    reader: R,
    enum_variant_ids: &[&'static str]
) -> Result<(T, R)> where
    R: Read,
    T: DeserializeOwned

Deserialize an instance of type T from an IO stream of binary MTProto and return unused part of IO stream.