exr::compression::optimize_bytes

Function interleave_byte_blocks

Source
pub fn interleave_byte_blocks(separated: &mut [u8])
Expand description

Interleave the bytes such that the second half of the array is every other byte.