JSStringGetCharactersPtr top-level property

Pointer<JSChar> Function(JSStringRef string) JSStringGetCharactersPtr
final

Returns a pointer to the Unicode character buffer that serves as the backing store for a JavaScript string. 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.

Implementation

final Pointer<JSChar> Function(JSStringRef string) JSStringGetCharactersPtr =
    kLookup<NativeFunction<Pointer<JSChar> Function(JSStringRef)>>(
      'JSStringGetCharactersPtr',
    ).asFunction();