JSStringCreateWithCharacters top-level property

JSStringRef Function(Pointer<JSChar> chars, int numChars) JSStringCreateWithCharacters
final

Creates a JavaScript string from a buffer of Unicode characters. chars (JSChar*) The buffer of Unicode characters to copy into the new JSString. numChars (size_t) The number of characters to copy from the buffer pointed to by chars. @result (JSStringRef) A JSString containing chars. Ownership follows the Create Rule.

Implementation

final JSStringRef Function(Pointer<JSChar> chars, int numChars)
JSStringCreateWithCharacters =
    kLookup<NativeFunction<JSStringRef Function(Pointer<JSChar>, Size)>>(
      'JSStringCreateWithCharacters',
    ).asFunction();