Function rzcobs::decode[][src]

pub fn decode(data: &[u8]) -> Result<Vec<u8>, MalformedError>
Expand description

Decode a full message.

data must be a full rzCOBS encoded message. Decoding partial messages is not possible. data must NOT include any 0x00 separator byte.