()
| 465 | } |
| 466 | |
| 467 | private readString(): string { |
| 468 | this.position++; // skip ( |
| 469 | let result = ""; |
| 470 | |
| 471 | while (this.position < this.data.length && this.data[this.position] !== 0x29) { |
| 472 | result += String.fromCharCode(this.data[this.position]); |
| 473 | this.position++; |
| 474 | } |
| 475 | |
| 476 | this.position++; // skip ) |
| 477 | |
| 478 | return result; |
| 479 | } |
| 480 | |
| 481 | private readEndDictOrHex(): Token { |
| 482 | if (this.position + 1 < this.data.length && this.data[this.position + 1] === 0x3e) { |