{"json_modified": "2016-03-28T08:40:52.163626", "uuid": "6666a050-1073-467e-baf1-4da033a12c10", "title": "JS_GetStringEncodingLength", "url": "/en-US/docs/Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_GetStringEncodingLength", "tags": ["R\u00e9f\u00e9rence", "Reference", "SpiderMonkey", "JSAPI Reference"], "translations": [], "modified": "2015-01-18T16:01:49", "label": "JS_GetStringEncodingLength", "localization_tags": [], "locale": "en-US", "id": 132829, "last_edit": "2015-01-18T16:01:41", "summary": "JS_GetStringEncodingLength
returns the length of the specified string in bytes, regardless of its encoding. You can use this value to create a buffer to encode the string into using the JS_EncodeStringToBuffer
function.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Description", "title": "Description"}, {"id": "See_Also", "title": "See Also"}], "slug": "Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_GetStringEncodingLength", "review_tags": ["technical"]}