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

JS_GetTwoByteExternalStringChars

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.

Syntax

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

Description

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,