Skip to main content

REPOS_UNPLACED_WORD

Constant REPOS_UNPLACED_WORD 

Source
pub const REPOS_UNPLACED_WORD: u16 = 0xFF;
Expand description

REPOS_UNPLACED at the width the file declares.

Vanilla files carry these fields as WORD while the engine’s read call takes a BYTE, so the sentinel needs both widths. Written as a literal rather than widened from its sibling because Into is not const here, and the two are held together by the assertion below instead.