Even though this parser is streaming, it's currently not possible to actually have it operate on a stream. The API requires a &[u8]. This isn't really necessary though, most of the API could remain identical while supporting any input type R where R: Read. I tried to implement this myself but this codebase is so huge and has so much duplicated code that I gave up, since it's not immediately necessary for my use-case.
Even though this parser is streaming, it's currently not possible to actually have it operate on a stream. The API requires a
&[u8]. This isn't really necessary though, most of the API could remain identical while supporting any input typeR where R: Read. I tried to implement this myself but this codebase is so huge and has so much duplicated code that I gave up, since it's not immediately necessary for my use-case.