Skip to main content

encode_fourcc

Function encode_fourcc 

Source
pub fn encode_fourcc(s: &str) -> [u8; 4]
Expand description

Encode a 4-character string into a 4-byte array, space-padded on the right.