Skip to main content

vec_to_bytes

Function vec_to_bytes 

Source
pub fn vec_to_bytes<T: Pod>(v: Vec<T>) -> Vec<u8> 
Expand description

Convert a Vec<T: Pod> into a Vec<u8> by copying the raw bytes.