[−][src]Function postcard::take_from_bytes
pub fn take_from_bytes<'a, T>(s: &'a [u8]) -> Result<(T, &'a [u8])> where
T: Deserialize<'a>,
Deserialize a message of type T
from a byte slice. The unused portion (if any)
of the byte slice is returned for further usage