Function ref_to_mut_bytes

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

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