Function transmute_vec_as_bytes

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

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