@Override
  public Collection<IdIndexEntry> read(@NotNull DataInput in) throws IOException {
    int length = DataInputOutputUtil.readINT(in);
    ArrayList<IdIndexEntry> entries = new ArrayList<>(length);
    int prev = 0;
    while(length-- > 0) {
      final int l = (int)(DataInputOutputUtil.readLONG(in) + prev);
      entries.add(new IdIndexEntry(l));
      prev = l;
    }
    return entries;
  }
@Override
  public Collection<IdIndexEntry> read(@NotNull DataInput in)