Skip to main content

cstring

Function cstring 

Source
pub fn cstring<const N: usize>(s: &str) -> Result<CString<N>>
Expand description

Converts a &str to a null-terminated CString<N>.