pub fn decode_messages(bytes: &[u8]) -> Vec<Message>Expand description
Decode every CRC-valid frame in a byte buffer into the message IR.
Frames whose CRC fails, or whose body cannot be decoded, are skipped; the scan resynchronizes on the next preamble. This is the forgiving stream entry point for a noisy serial feed.