slice_to_uninit_mut

Function slice_to_uninit_mut 

Source
unsafe fn slice_to_uninit_mut(slice: &mut [u8]) -> &mut [MaybeUninit<u8>]
Expand description

ยงSafety

The caller must ensure that slice is fully initialized and never writes uninitialized bytes to the returned slice.