blocks_to_slice_mut

Function blocks_to_slice_mut 

Source
pub fn blocks_to_slice_mut<ALIGN, const SIZE: usize>(
    buf: &mut [Aligned<ALIGN, [u8; SIZE]>],
) -> &mut [u8]
where ALIGN: Alignment,
Expand description

Cast a mutable slice of aligned blocks to a mutable byte slice

This function panics if

  • ALIGNment is not a multiple of SIZE