Skip to main content

decode_plain_info

Function decode_plain_info 

Source
pub fn decode_plain_info(bytes: &[u8]) -> Result<(&str, &str), &'static str>
Expand description

Decode the complete envelope, rejecting unsupported classes and trailing bytes. Returned slices borrow the exact counted datagram payload.