This article covers features introduced in SpiderMonkey 38
Returns the length of the char buffer required to encode given string as UTF8.
Syntax
size_t GetDeflatedUTF8StringLength(JSFlatString* s);
Name | Type | Description |
---|---|---|
s |
JSFlatString * |
The pointer to the string to calculate the length. |
Description
JS::GetDeflatedUTF8StringLength
returns the length of the char buffer required to encode s
as UTF8. The returned length does not include the null-terminator.
See Also
Document Tags and Contributors
Tags:
Contributors to this page:
bunnybooboo,
arai
Last updated by:
bunnybooboo,