Extending Flash |
|
|
|
| C-Level Extensibility > The C-level API > JSVal JS_BytesToValue() | |||
JSBool JS_BytesToValue(JSContext *cx, unsigned short *bytes, uint sz, jsval *vp);
Method; converts bytes to a JavaScript value.
JSContext *cx, unsigned short bytes, uint sz, jsval *vp
cx argument is the JavaScript context.bytes argument is the string of bytes to convert to a JavaScript object.sz argument is the number of bytes to be converted.vp argument is the JavaScript value.A Boolean value: JS_TRUE indicates success; JS_FALSE indicates failure.
|
|
|
|