MCPcopy
hub / github.com/nodejs/undici / arrayBuffer

Method arrayBuffer

lib/api/readable.js:216–218  ·  view source on GitHub ↗

* Consumes and returns the body as an ArrayBuffer. * * @see https://fetch.spec.whatwg.org/#dom-body-arraybuffer * @returns {Promise }

()

Source from the content-addressed store, hash-verified

214 * @returns {Promise<ArrayBuffer>}
215 */
216 arrayBuffer () {
217 return consume(this, 'arrayBuffer')
218 }
219
220 /**
221 * Not implemented

Callers

nothing calls this directly

Calls 1

consumeFunction · 0.85

Tested by

no test coverage detected