pub fn transmute_vec_as_bytes<T>(vec: Vec<T>) -> Vec<u8> ⓘwhere T: Pod,
Takes a vector of trivially-copyable values and turns it into a vector of bytes.