- Notifications
You must be signed in to change notification settings - Fork1.2k
JsCreateExternalArrayBuffer
Limin Zhu edited this pageOct 9, 2015 ·1 revision
Creates a Javascript ArrayBuffer object to access external memory.
STDAPI_(JsErrorCode) JsCreateExternalArrayBuffer( _Pre_maybenull_ _Pre_writable_byte_size_(byteLength) void *data, _In_ unsigned int byteLength, _In_opt_ JsFinalizeCallback finalizeCallback, _In_opt_ void *callbackState, _Out_ JsValueRef *result);
- data: A pointer to the external memory.
- byteLength: The number of bytes in the external memory.
- finalizeCallback: A callback for when the object is finalized. May be null.
- callbackState: User provided state that will be passed back to finalizeCallback.
- result: The new ArrayBuffer object.
The codeJsNoError if the operation succeeded, a failure code otherwise.
Requires an active script context.
- Architecture Overview
- Building ChakraCore
- ChakraCore Code Structure
- Contributor Guidance
- Engineering Notes
- Embedding ChakraCore
- Testing ChakraCore
- Getting ChakraCore binaries
- Label Glossary
- Resources
- Roadmap / Release Notes
Want to contribute to this Wiki?Fork it and send a pull request!