transmute_vec_as_bytes

Function transmute_vec_as_bytes 

Source
pub fn transmute_vec_as_bytes<T: Pod>(vec: Vec<T>) -> Vec<u8> 
Expand description

Takes a vector of trivially-copyable values and turns it into a vector of bytes.