Please note, this is a STATIC archive of website from 03 Nov 2016, does not collect or store any user information, there is no "phishing" involved.


This article needs a technical review. How you can help.

This article covers features introduced in SpiderMonkey 38

Get the chars of an external string.


const char16_t *
JS_GetTwoByteExternalStringChars(JSString *str);
Name Type Description
str JSString * A string to get characters.


JS_GetTwoByteExternalStringChars gets the characters of the string, str.

JS_GetTwoByteExternalStringChars always succeeds, and returns a pointer to the string.

See Also

Document Tags and Contributors

 Contributors to this page: kscarfone, arai
 Last updated by: kscarfone,