1 2 3 4 5 6 7 8 9
use binrw::BinRead; #[derive(BinRead)] struct Foo { #[br(temp)] a: u8, } fn main() {}