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

Method arrayBuffer

lib/internal/blob.js:287–292  ·  view source on GitHub ↗

* @returns {Promise }

()

Source from the content-addressed store, hash-verified

285 * @returns {Promise<ArrayBuffer>}
286 */
287 arrayBuffer() {
288 if (!isBlob(this))
289 return PromiseReject(new ERR_INVALID_THIS('Blob'));
290
291 return arrayBuffer(this);
292 }
293
294 /**
295 * @returns {Promise<string>}

Callers 1

runFunction · 0.95

Calls 2

isBlobFunction · 0.85
arrayBufferFunction · 0.70

Tested by

no test coverage detected