()
| 119 | return this.getChunk(this.getLength()); |
| 120 | } |
| 121 | getObjectIdentifier() { |
| 122 | if (this.getTag() !== 0x06) |
| 123 | throw new Error("BER: not an object identifier"); |
| 124 | return this._getObjectIdentifier(this.getLength()) |
| 125 | } |
| 126 | _getObjectIdentifier(len) { |
| 127 | let i = this.#a[this.#i++]; |
| 128 | const oid = new Uint32Array(new ArrayBuffer((2 + len) << 2, {maxByteLength: (2 + len) << 2})); |
no test coverage detected