pub unsafe extern "C" fn Dart_NewStringFromCString(
    str_: *const c_char
) -> Dart_Handle
Expand description

Returns a String built from the provided C string (There is an implicit assumption that the C string passed in contains UTF-8 encoded characters and ‘\0’ is considered as a termination character).

\param str A C String

\return The String object if no error occurs. Otherwise returns an error handle.