docs: public Piece getPiece(int index) {
      if (this.pieces == null) {
        throw new IllegalStateException("Torrent not initialized yet.");
      }
  
      if (index >= this.pieces.length) {
        throw new IllegalArgumentException("Invalid piece index!");
      }
  
      return this.pieces[index];
    }