accept
Feeds a chunk of bytes from the terminal host output stream to the parser.
The parser processes the byte sequence, transitions its internal state machine, and dispatches recognized commands to the bound command sink.
Parameters
bytes
The byte array containing raw terminal output.
offset
The index of the first byte to process in bytes.
length
The number of bytes to process; defaults to the remaining suffix.
Throws
if the slice is outside bytes, including integer-overflow ranges. Rejection leaves pending input and sink state unchanged.