jSStringGetCharactersPtr top-level property
Returns a pointer to the Unicode character buffer that
string (JSStringRef) The JSString whose backing store you want to access.
@result (const JSChar*) A pointer to the Unicode character buffer that serves as string's backing store, which will be deallocated when string is deallocated.
final Pointer<Utf16> Function(Pointer string) jSStringGetCharactersPtr = jscLib .lookup<NativeFunction<Pointer<Utf16> Function(Pointer)>>( 'JSStringGetCharactersPtr') .asFunction();