1 2 3 4 5 6 7 8 9 10 11 12
use binrw::BinRead; #[derive(Debug, BinRead)] pub struct Data { #[br(assert(_len == 10))] _len: u16, pub row: u16, pub col: u16, pub ixfe: u16, pub isst: u32, }