MCPcopy
hub / github.com/remix-run/remix / arrayBuffer

Method arrayBuffer

packages/node-fetch-server/src/lib/lazy-request.ts:274–277  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

272 }
273
274 arrayBuffer() {
275 if (this.#request != null && !this.#bodyUsed) return this.#request.arrayBuffer()
276 return this.#consumeBody().then(bufferToArrayBuffer)
277 }
278
279 blob() {
280 if (this.#request != null && !this.#bodyUsed) return this.#request.blob()

Callers

nothing calls this directly

Calls 2

#consumeBodyMethod · 0.95
arrayBufferMethod · 0.65

Tested by

no test coverage detected