Function serial_line_ip::encode[][src]

pub fn encode(input: &[u8], output: &mut [u8]) -> Result<usize, ()>

Fully slip encode the input buffer to the output buffer This will panic if the output buffer is less than 5 bytes