Is there a way to make the parser forward-only? #304
Unanswered
Niedzwiedzw
asked this question in
Q&A
Replies: 1 comment
-
|
Hi, thanks for your question! binrw already comes with a wrapper for this, so you don’t need to write your own. Issue #253 tracks optimisations to avoid re-reading magic on data enums, and a workaround is given in the comments of that ticket. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am parsing from a reader which doesn't implement Seek. I have implemented a ForwardOnlySeek wrapper which errors on backwards seek but looks like the parser sometimes goes back, I think it's when matching enum variants... is there a way around it?
Beta Was this translation helpful? Give feedback.
All reactions