JSStringGetCharactersPtr(_:)
Returns a pointer to the Unicode character buffer that serves as the backing store for a JavaScript string.
Declaration
func JSStringGetCharactersPtr(_ string: JSStringRef!) -> UnsafePointer<JSChar>!Parameters
- string:
The Jsstringref with the backing store you want to access.
Return Value
A pointer to the Unicode character buffer that serves as the backing store of string, which the system deallocates when it deallocates string.