Skip to main content

parse_fragment

Function parse_fragment 

Source
pub fn parse_fragment(frame: &[u8]) -> Option<(u16, bool, &[u8])>
Expand description

Splits a received fragment command into number, last flag and data, checking its CRC; None if it does not check out.