Skip to content

JsGetTypedArrayInfo

Limin Zhu edited this page Oct 9, 2015 · 1 revision

Obtains frequently used properties of a typed array.

Syntax

STDAPI_(JsErrorCode)
    JsGetTypedArrayInfo(
    _In_ JsValueRef typedArray,
    _Out_opt_ JsTypedArrayType *arrayType,
    _Out_opt_ JsValueRef *arrayBuffer,
    _Out_opt_ unsigned int *byteOffset,
    _Out_opt_ unsigned int *byteLength);

Parameters

  • typedArray: The typed array instance.
  • arrayType: The type of the array.
  • arrayBuffer: The ArrayBuffer backstore of the array.
  • byteOffset: The offset in bytes from the start of arrayBuffer referenced by the array.
  • byteLength: The number of bytes in the array.

Return Value

The code JsNoError if the operation succeeded, a failure code otherwise.

Clone this wiki locally