Function object::pod::bytes_of_slice
source · [−]pub fn bytes_of_slice<T: Pod>(val: &[T]) -> &[u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
Expand description
Cast a slice of a Pod
type to a byte slice.