@Override
    public void save(@NotNull final DataOutput out, final IntList values) throws IOException {
      final int size = values.size();
      if (size == 1) {
        DataInputOutputUtil.writeINT(out, -values.getInt(0));
        return;
      }

      DataInputOutputUtil.writeINT(out, size);
      for (int i = 0; i < size; ++i) {
        DataInputOutputUtil.writeINT(out, values.getInt(i));
      }
    }
@Override
    public void save(@NotNull final DataOutput out, final IntList values)