pub(crate) unsafe fn c_str_to_string_no_free(
ptr: *mut c_char,
) -> SzResult<String>
Expand description
Converts C string to Rust string without freeing the memory (for static/managed strings)
ยงSafety
The caller must ensure that ptr is either null or points to a valid null-terminated C string. This function does NOT free the memory.