I use your library to parse bidirectional streamed XML, and I need the partially accumulated text records at the boundary. So I added a function for it.
Can you add a test, please?
Add a function to flush all accumulated buffers.
Add a test for new flush API.
Landed and pushed to npm.