#[binrw]
The attribute version of the derive macro for both BinRead and BinWrite. Use instead of #[derive(BinRead, BinWrite)] to enable temporary variables.
BinRead
BinWrite
#[derive(BinRead, BinWrite)]