pub unsafe extern "C-unwind" fn JSStringGetCharactersPtr(
string: JSStringRef,
) -> *const JSChar
Available on crate features
JSStringRef
and JSBase
only.Expand description
Returns a pointer to the Unicode character buffer that serves as the backing store for a JavaScript string.
Parameter string
: The JSString 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.