pub unsafe extern "C-unwind" fn JSStringGetCharactersPtr(
string: JSStringRef,
) -> *const JSChar
Available on crate features
JSBase
and JSStringRef
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.
§Safety
string
must be a valid pointer.