Function object::pod::bytes_of_slice

source ยท
pub fn bytes_of_slice<T: Pod>(val: &[T]) -> &[u8]
Expand description

Cast a slice of a Pod type to a byte slice.