Macro fourcc
Source macro_rules! fourcc {
($s:literal) => { ... };
}
Expand description
Macro for creating FourCharCode at compile time with validation.
§Example
ⓘuse beamer_core::fourcc;
const MANUFACTURER: FourCharCode = fourcc!(b"Demo");
const SUBTYPE: FourCharCode = fourcc!(b"gain");