private long ratingPos(int idx) { long offset = format.getHeaderSize(); return offset + idx * format.getRatingSize(); }