Reassembles whole COBS frames from the chunks a serial port delivers.
The counterpart to SlipDecoder, for links where the framing overhead has to stay small and predictable.
Creates an empty decoder, ready for the first chunk.
How many corrupt frames this decoder has discarded.
Feeds a chunk of the stream.
The bytes just read from the port.
Every frame this chunk completed, in order.
Discards any partly assembled frame.
Reassembles whole COBS frames from the chunks a serial port delivers.
The counterpart to SlipDecoder, for links where the framing overhead has to stay small and predictable.