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

Method consumeCurrentByte

deps/undici/undici.js:16615–16618  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16613 return this.chunks[this.chunkIndex][this.pos];
16614 }
16615 consumeCurrentByte() {
16616 this.advanceCursor();
16617 this.syncLineStartToCursor();
16618 }
16619 advanceCursor() {
16620 this.pos++;
16621 while (this.chunkIndex < this.chunks.length && this.pos >= this.chunks[this.chunkIndex].length) {

Callers 1

_transformMethod · 0.45

Calls 2

advanceCursorMethod · 0.45
syncLineStartToCursorMethod · 0.45

Tested by

no test coverage detected