Function JSStringGetCharactersPtr

Source
pub unsafe extern "C" fn JSStringGetCharactersPtr(
    string: JSStringRef,
) -> *const JSChar
Expand description

Returns a pointer to the Unicode character buffer that serves as the backing store for a JavaScript string.

  • string: The JSStringRef whose backing store you want to access.

Returns a pointer to the Unicode character buffer that serves as string’s backing store, which will be deallocated when string is deallocated.