Function ffi_utils::string::from_c_str
[−]
[src]
pub unsafe fn from_c_str(ptr: *const c_char) -> Result<String, Utf8Error>
Copies memory from a provided pointer and allocates a new String
.