expect_any_fourcc

Function expect_any_fourcc 

Source
pub fn expect_any_fourcc(
    actual: [u8; 4],
    expected: &[[u8; 4]],
) -> Result<(), [u8; 4]>
Expand description

Validates that a parsed fourcc matches one of expected.

Returns Err(actual) when no candidate matches.