(position)
| 75 | }) |
| 76 | }, |
| 77 | assertPosition(position) { |
| 78 | if (position < 0 || position > this.bytes.length - 1) |
| 79 | throw new PositionOutOfBoundsError({ |
| 80 | length: this.bytes.length, |
| 81 | position, |
| 82 | }) |
| 83 | }, |
| 84 | decrementPosition(offset) { |
| 85 | if (offset < 0) throw new NegativeOffsetError({ offset }) |
| 86 | const position = this.position - offset |
nothing calls this directly
no outgoing calls
no test coverage detected