You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
buffer: The buffer to put the serialized script into. Can be null.
bufferSize: On entry, the size of the buffer, in bytes; on exit, the size of the buffer, in bytes, required to hold the serialized script.
Return Value
The code JsNoError if the operation succeeded, a failure code otherwise.
Remarks
This API is Windows-only (see JsSerialize for cross-platform equivalent).
JsSerializeScript parses a script and then stores the parsed form of the script in a
runtime-independent format. The serialized script then can be deserialized in any
runtime without requiring the script to be re-parsed.
Requires an active script context.