Function run_with_cstr

Source
pub fn run_with_cstr<T>(
    bytes: &[u8],
    f: &dyn Fn(&CStr) -> Result<T>,
) -> Result<T>