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

Function bytes

deps/undici/undici.js:6899–6903  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6897 }, instance, getInternalState);
6898 },
6899 bytes() {
6900 return consumeBody(this, (bytes) => {
6901 return new Uint8Array(bytes);
6902 }, instance, getInternalState);
6903 },
6904 textStream() {
6905 const this_ = getInternalState(this);
6906 if (bodyUnusable(this_)) {

Callers

nothing calls this directly

Calls 1

consumeBodyFunction · 0.70

Tested by

no test coverage detected