Function run_with_cstr_stack

Source
unsafe fn run_with_cstr_stack<T>(
    bytes: &[u8],
    f: &dyn Fn(&CStr) -> Result<T>,
) -> Result<T>
Expand description

ยงSafety

bytes must have a length less than MAX_STACK_ALLOCATION.