pub fn read_fourcc(
bytes: &[u8],
offset: usize,
) -> Result<[u8; 4], BinaryLayoutError>Expand description
Reads a 4-byte tag at offset.
ยงErrors
BinaryLayoutError::UnexpectedEof when fewer than four bytes remain.
pub fn read_fourcc(
bytes: &[u8],
offset: usize,
) -> Result<[u8; 4], BinaryLayoutError>Reads a 4-byte tag at offset.
BinaryLayoutError::UnexpectedEof when fewer than four bytes remain.