Function slice_ref_to_bytes

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

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