Function serde_mtproto::de::from_bytes
[−]
[src]
pub fn from_bytes<'a, T>(
bytes: &'a [u8],
enum_variant_id: Option<&'static str>
) -> Result<T> where
T: Deserialize<'a>,
Deserialize an instance of type T
from bytes of binary MTProto.