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

Method hasCurrentByte

lib/web/eventsource/eventsource-stream.js:357–360  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

355 }
356
357 hasCurrentByte () {
358 return this.chunkIndex < this.chunks.length &&
359 this.pos < this.chunks[this.chunkIndex].length
360 }
361
362 currentByte () {
363 return this.chunks[this.chunkIndex][this.pos]

Callers 2

_transformMethod · 0.95
handleBOMMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected