()
| 75 | this.#i += length; |
| 76 | } |
| 77 | next() { |
| 78 | const i = this.#i; |
| 79 | this.skip(1); |
| 80 | this.skip(this.getLength()); |
| 81 | return this.#a.subarray(i, this.#i) |
| 82 | } |
| 83 | getInteger() { |
| 84 | if (this.getTag() !== 2) |
| 85 | throw new Error("BER: not an integer"); |
no test coverage detected