assertCanRead(offset) {
    const state = this.#state;
    this.assertCanSeek(state.index + offset);
  }
Check that the offset will not go too far.

@param {number} offset the additional offset to check.
@throws {Error} an Error if the offset is out of bounds.