Skip to main content

c_string

Function c_string 

Source
pub fn c_string(text: &str) -> Vec<u8> ⓘ
Expand description

text as a C string: its bytes without any NUL, then one NUL.