binread
binread copied to clipboard
A Rust crate for helping parse structs from binary data using ✨macro magic✨
Hi, First of all, thank you for your time reading this! I'm having an issue with the ```BinRead``` macro. I'm trying to create a simple struct, ``` #[derive(Debug, BinRead)] struct...
Splitting this off from #15
Ok so to clarify some things: * `binread` can still receive limited updates, however for the most part the 2.0.0 update is (in theory) the last major update to binread...
In the binary formats i'm parsing, there are `Vec`s that don't have an explicit length stored in the file with them. One common method of storing such `Vec`s is by...
I have scoured through the documentation and there doesn't seem to be a way to handle offsets relative to the start of a struct. Looking at the implementation in `file_ptr.rs`...
Hey @jam1garner , binread is really awesome! I'm having a great time with it :)) I have a file format in which a particular field's bytes is used to interpret...
I saw your reddit post last night and noticed we're working on solving the same problem. I've been working on Deku (https://github.com/sharksforarms/deku) for a couple months now with the goal...
I just read your [blog post](https://jam1.re/blog/binread-a-declarative-rust-binary-parsing-library) and bit of the docs. This crate looks really cool! Can you document a bit about the memory behaviour of the generated code? For...
Hi, `NullString` is useful, but I am concerned when reading malicious files that do not contain `'\0'`. As with `Vec`, support for the `count` option avoids reading data without limit....