pub unsafe extern "C-unwind" fn JSStringCreateWithCharacters(
chars: *const JSChar,
num_chars: usize,
) -> JSStringRefAvailable on crate features
JSBase and JSStringRef only.Expand description
Creates a JavaScript string from a buffer of Unicode characters.
Parameter chars: The buffer of Unicode characters to copy into the new JSString.
Parameter numChars: The number of characters to copy from the buffer pointed to by chars.
Returns: A JSString containing chars. Ownership follows the Create Rule.
ยงSafety
chars must be a valid pointer.