pub fn split_uninit_from_bytes<T>(
destination: &mut [u8],
) -> Result<(&mut [u8], &mut MaybeUninit<T>, &mut [u8]), SplitUninitError>
Expand description
Split out a mutable reference to an uninitialized struct at an available location within a provided slice of bytes.
Does not access or mutate the content of the provided destination
byte
slice.