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

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