Function rcobs::decode [−][src]
pub fn decode(data: &[u8]) -> Result<Vec<u8>, MalformedError>
Decode a full message.
data
must be a full reverse-COBS encoded message. Decoding partial
messages is not possible. data
must NOT include any 0x00
separator byte.