decode_frames

Function decode_frames 

Source
pub fn decode_frames(bytes: &[u8]) -> Result<Vec<Vec<u8>>>
Expand description

Decode all SLIP frames contained in the provided byte slice.

The function returns a vector containing one decoded frame per END delimiter. Frames are returned in the order they appear in the input. A complete example is available in examples/basic.rs.