Creates a parser with an empty buffer.
How many completed frames are waiting to be taken.
Takes the next queued frame, or null when the parser needs more bytes.
Feeds bytes off a link and returns the frames that completed.
Whatever a serial port or socket delivers can be pushed as it arrives, however it is split. Noise between frames is skipped rather than reported, which is what lets a parser join a stream already in progress.
A streaming frame parser, and the frames it has completed.