encode

Function encode 

Source
pub fn encode(encoded_data_buf: &mut [u8], data: &[u8]) -> usize
Expand description

SLIP-encodes a byte-slice into the given buffer as described in RFC1055. Returns size of encoded data in bytes.