slice_ref_to_mut_bytes

Function slice_ref_to_mut_bytes 

Source
pub fn slice_ref_to_mut_bytes<T: Castable>(
    data: &mut [T],
) -> Result<&mut [u8], Error>
Expand description

Convert the given slice reference of type T to a mutable u8 slice.