pub fn expect_fourcc(actual: [u8; 4], expected: [u8; 4]) -> Result<(), [u8; 4]>Expand description
Validates that a parsed fourcc exactly matches expected.
Returns Err(actual) so callers can map mismatches into format-specific
error variants without re-reading the source bytes.