binrw 0.15.1

A Rust crate for helping read structs from binary data using ✨macro magic✨
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! https://github.com/rust-lang/rust/issues/24584

#![deny(missing_docs)]

use binrw::binrw;

/// Foo.
#[binrw]
#[brw(import { _a: u32 })]
pub struct Foo {
    _a: u8,
}

/// Main.
fn main() {}