MCPcopy Create free account
hub / github.com/nodejs/node / arrayBuffer

Function arrayBuffer

deps/undici/undici.js:6862–6866  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6860 }, instance, getInternalState);
6861 },
6862 arrayBuffer() {
6863 return consumeBody(this, (bytes) => {
6864 return new Uint8Array(bytes).buffer;
6865 }, instance, getInternalState);
6866 },
6867 text() {
6868 return consumeBody(this, utf8DecodeBytes, instance, getInternalState);
6869 },

Callers

nothing calls this directly

Calls 1

consumeBodyFunction · 0.70

Tested by

no test coverage detected