pub fn slice_ref_to_bytes<T>(data: &[T]) -> &[u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
Convert the given slice reference of type T to a u8 slice.
T
u8