(offset)
| 381 | } |
| 382 | // Create a sub-reader with the same underlying data, but offset |
| 383 | subReader(offset) { |
| 384 | const reader = new Reader(this.#data.slice(this.#offset + offset), this.allowLoose, this.#maxInflation); |
| 385 | reader.#parent = this; |
| 386 | return reader; |
| 387 | } |
| 388 | // Read bytes |
| 389 | readBytes(length, loose) { |
| 390 | let bytes = this.#peekBytes(0, length, !!loose); |