Function medea_jason::platform::utils::c_str_into_string
source · pub unsafe fn c_str_into_string(string: NonNull<c_char>) -> String
Expand description
Constructs a Rust String
from the provided raw C string.
Panics
If the provided C string UTF-8 validation fails.
Safety
Same as for CStr::from_ptr()
.