pub unsafe extern "system" fn JsCreateExternalArrayBuffer(
data: *mut c_void,
byteLength: c_uint,
finalizeCallback: JsFinalizeCallback,
callbackState: *mut c_void,
result: *mut JsValueRef
) -> JsErrorCode
Creates a Javascript ArrayBuffer object to access external memory.
Requires an active script context.
A pointer to the external memory.
The number of bytes in the external memory.
A callback for when the object is finalized. May be null.
User provided state that will be passed back to finalizeCallback.
The new ArrayBuffer object.
The code JsNoError if the operation succeeded, a failure code otherwise.