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 The JSString whose backing store you want to access. @result 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 = jscLib.lookup<NativeFunction<Pointer<JSChar> Function(JSStringRef string)>>('JSStringGetCharactersPtr').asFunction();