smessmer/binary-layout
The binary-layout library allows type-safe, inplace, zero-copy access to structured binary data. You define a custom data layout and give it a slice of binary data, and it will allow you to read and write the fields defined in the layout from the binary data without having to copy any of the data. It's similar to transmuting to/from a #[repr(packed)] struct, but much safer.
RustApache-2.0
Issues
- 0
Size constant for fixed size layout without option
#30 opened by rluvaton - 2
Differences to `zerocopy`
#29 opened by tbu- - 2
Nested structure as an array?
#24 opened by adam900710 - 5
Automatic support for repr(int) enums
#27 opened by lvella - 4
- 15
Other types to support?
#13 opened by ckaran - 2
Feature request: provide "size up to array" for open ended layouts ending with arrays
#23 opened by rdaum - 2
possible to add a NativeEndian marker?
#21 opened by carlsverre - 2
- 2
Is it possible to have nested layouts?
#17 opened by dheater - 7
Supporting `unit` and `never`.
#9 opened by ckaran - 4
Blanket `impl LayoutAs<T> for T`?
#10 opened by ckaran - 7
Ideas for supporting isize/usize
#7 opened by ckaran - 4
f32/f64 support?
#6 opened by ckaran - 2
Use Bolero in your tests
#5 opened by ckaran - 3
i128/u128 support
#2 opened by ckaran