pub fn cstr_to_str(input: &[u8]) -> Result<&str, Error>
Convert C string slice to string slice C string slice may be postfixed with multiple null characters.