Skip to main content

cast_to_c_array

Function cast_to_c_array 

Source
pub fn cast_to_c_array(message: &str) -> Vec<u16>
Expand description

Transform string to [u16] without length limit but a \0 in the end.