JSStringCreateWithCharacters top-level property

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

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

Implementation

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