()
| 68 | recursiveReadCount: 0, |
| 69 | recursiveReadLimit: Number.POSITIVE_INFINITY, |
| 70 | assertReadLimit() { |
| 71 | if (this.recursiveReadCount >= this.recursiveReadLimit) |
| 72 | throw new RecursiveReadLimitExceededError({ |
| 73 | count: this.recursiveReadCount + 1, |
| 74 | limit: this.recursiveReadLimit, |
| 75 | }) |
| 76 | }, |
| 77 | assertPosition(position) { |
| 78 | if (position < 0 || position > this.bytes.length - 1) |
| 79 | throw new PositionOutOfBoundsError({ |
nothing calls this directly
no outgoing calls
no test coverage detected