code: @Override
    public void write(DataOutput out) throws IOException {
      super.write(out);
      int sizeInWords = buckets2words(vectorSize);
      for(int i = 0; i < sizeInWords; i++) {
        out.writeLong(buckets[i]);
      }
    }
docs: Writable