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