pub fn bytes_to_words(
    bytes: &[u8]
) -> Result<Cow<'_, [u32]>, SpirvBytesNotMultipleOf4>
Expand description

Converts SPIR-V bytes to words. If necessary, the byte order is swapped from little-endian to native-endian.