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

Method hasCurrentByte

deps/undici/undici.js:16609–16611  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16607 return this.event.data !== void 0 || this.event.event !== void 0 || this.event.id !== void 0 || this.event.retry !== void 0;
16608 }
16609 hasCurrentByte() {
16610 return this.chunkIndex < this.chunks.length && this.pos < this.chunks[this.chunkIndex].length;
16611 }
16612 currentByte() {
16613 return this.chunks[this.chunkIndex][this.pos];
16614 }

Callers 2

_transformMethod · 0.45
handleBOMMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected