cstr_to_str

Function cstr_to_str 

Source
pub fn cstr_to_str(input: &[u8]) -> Result<&str, Error>
Expand description

Convert C string slice to string slice C string slice may be postfixed with multiple null characters.