Closed ciarant closed 11 months ago
@sharksforarms would this require something like https://github.com/sharksforarms/deku/issues/105?
I'd also like a solution to this use case.
With https://github.com/sharksforarms/deku/pull/352 this "Just Works". Closing unless you have other questions for this.
Hey there. I working on a tool to decode a proprietary legacy binary file format and am struggling to find an example of how I might be able to use a BufReader with Deku. What would allow me to not worry about buffering data myself while also avoiding loading the entire binary file into memory? Anyone got a pointers?
(I'm a newcomer to Rust so, apologies, this might be a dumb question)
Here's a code snippet (it's waaaay simpler than the format I have to deal with, but might help ¯_(ツ)_/¯)