Streaming String Callbacks
Registered by
Paul "LeoNerd" Evans
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:
- Complete
- Approver:
- None
- Priority:
- High
- Drafter:
- Paul "LeoNerd" Evans
- Direction:
- Approved
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Paul "LeoNerd" Evans
- Completed by
- Paul "LeoNerd" Evans
Related branches
Related bugs
Sprints
Whiteboard
(?)