binrw icon indicating copy to clipboard operation
binrw copied to clipboard

A Rust crate for helping parse and rebuild binary data using ✨macro magic✨.

Results 63 binrw issues
Sort by recently updated
recently updated
newest added

Hi there! Thanks for your job, it's awesome one! Between this and then I was thinking about non-zero `FilePtr's` as frequently used: zero describes nothing, otherwise go by location. But...

I think it's good to have some examples like reading common binary, like https://formats.kaitai.io/

I've been toying with `binrw` for about a day now to get a feel for it and I'm a bit troubled by the current `FilePtr` state so I thought I'd...

The idea would be that for format that don't involve any reverse seeking, `io::Seek` can be implemented in terms of just a position tracker an `io::Read`. This would better enable...

enhancement
good first issue

Spinning off from #129, making users more aware of this is a good practice. Most notable things to be included: 1. how buffering can help perf 2. how seeks can...

documentation

I noticed today that `binrw` is very slow in comparison with a naive stdlib implementation and I'm not sure if I am doing something wrong here. In the example code...

Trying to compile code that looks something like this: ```rs #![deny(missing_docs)] #[derive(BinRead)] #[br(import { foo: u32 })] struct Foo { bar: u8, } ``` results in this error: ``` error:...

### Motivation Being able to utilize reader adapters easily would greatly improve multiple areas of binrw that could use a bit of improvement: * Parsing from decompressed or encrypted content...

See #118 for part of the motivation. It's possible to have it called immediately, but not disable it entirely.

Implementation notes: * Add a section at the bottom of the corresponding `attributes` page * Link to it from a sentence at the bottom of the attribute overview tables

documentation
has instructions