MCPcopy Index your code
hub / github.com/nodejs/node / getViewedArrayBuffer

Function getViewedArrayBuffer

lib/internal/webidl.js:852–856  ·  view source on GitHub ↗

* Returns the ArrayBuffer or SharedArrayBuffer viewed by a typed array or * DataView. * @param {ArrayBufferView} V TypedArray or DataView. * @returns {ArrayBuffer|SharedArrayBuffer}

(V)

Source from the content-addressed store, hash-verified

850 * @returns {ArrayBuffer|SharedArrayBuffer}
851 */
852function getViewedArrayBuffer(V) {
853 // Buffer view conversion steps read V.[[ViewedArrayBuffer]].
854 return isTypedArray(V) ?
855 TypedArrayPrototypeGetBuffer(V) : DataViewPrototypeGetBuffer(V);
856}
857
858/**
859 * Validates [AllowShared] and [AllowResizable] backing-store constraints.

Callers 1

webidl.jsFile · 0.85

Calls 1

isTypedArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…