array_as_u8_slice

Function array_as_u8_slice 

Source
pub fn array_as_u8_slice<T: Sized + Pod>(v: &[T]) -> &[u8] 
Expand description

“Transmutes” array of any sized type to a slice of bytes.