#[unsafe(no_mangle)]pub unsafe extern "C" fn ffi_string_alloc(
str: *const u8,
len: usize,
) -> FfiStringExpand description
Allocate and copy a UTF-8 string of len bytes starting at str.
Exported as: ffi_string_alloc
§Safety
str must be valid for len bytes.