Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Creates a JavaScript ArrayBuffer object.
Syntax
STDAPI_(JsErrorCode) JsCreateArrayBuffer(
_In_ unsigned int byteLength,
_Out_ JsValueRef *result
);
Parameters
byteLength
The number of bytes in the ArrayBuffer.
result
The new ArrayBuffer object.
Return Value
The code JsNoError if the operation succeeded, a failure code otherwise.
Remarks
Requires an active script context.
This API is supported only in Microsoft Edge mode.
Requirements
Header: jsrt.h