pub fn decode(source: &[u8], dest: &mut [u8]) -> Result<usize, DecodeError>Expand description
Decodes the source buffer into the dest buffer.
This function uses the typical sentinel value of 0.
ยงFailures
This will return Err(()) if there was a decoding error. Otherwise,
it will return Ok(n) where n is the length of the decoded message.