Reassembles whole COBS frames from the chunks a serial port delivers.
Creates an empty decoder, ready for the first chunk.
Returns how many corrupt frames this decoder has discarded.
Feeds a chunk of the stream and returns every frame it completed.
Discards any partly assembled frame.
Reassembles whole COBS frames from the chunks a serial port delivers.