pub fn slice_ref_to_bytes<T: Castable>(data: &[T]) -> Result<&[u8], Error>
Convert the given slice reference of type T to a u8 slice.
T
u8