JSStringCreateWithUTF8CString top-level property
Creates a JavaScript string from a null-terminated UTF8 string.
string
(char*) The null-terminated UTF8 string to copy into the new JSString.
@result
(JSStringRef) A JSString containing string. Ownership follows the Create Rule.
Implementation
final JSStringRef Function(Pointer<Utf8> string) JSStringCreateWithUTF8CString =
kLookup<NativeFunction<JSStringRef Function(Pointer<Utf8>)>>(
'JSStringCreateWithUTF8CString',
).asFunction();