Streaming String Callbacks

Registered by Paul "LeoNerd" Evans on 2015-10-23

The current design of the parser-level dcs and osc parsing is unworkable. It refuses to pass on a DCS or OSC string until it has the whole lot. But the whole lot has to fit in the (fixed-size) input buffer. This means it will permanently stall the parser on long DCS or OSCs.

What instead we need is some incremental callbacks, so that the parser is always able to make progress, passing more and more bytes until it finally reaches the end. The higher layer, or embedding application, can then take whatever action is necessary here.

Blueprint information

Status:
Not started
Approver:
None
Priority:
High
Drafter:
Paul "LeoNerd" Evans
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.