Skip to content

JsGetDataViewInfo

rhuanjl edited this page Sep 1, 2018 · 1 revision

Obtains frequently used properties of a data view.

Syntax

CHAKRA_API
    JsGetDataViewInfo(
        _In_ JsValueRef dataView,
        _Out_opt_ JsValueRef *arrayBuffer,
        _Out_opt_ unsigned int *byteOffset,
        _Out_opt_ unsigned int *byteLength);

Parameters

  • dataView: The data view instance.
  • arrayBuffer: The ArrayBuffer backstore of the view.
  • 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.

Remarks

This API is experimental and may have breaking changes later.

Clone this wiki locally