docs: public static void serialize(OutputStream out, BloomKFilter bloomFilter) throws IOException
    {
      /**
       * Serialized BloomKFilter format:
       * 1 byte for the number of hash functions.
       * 1 big endian int(That is how OutputStream works) for the number of longs in the bitset
       * big endina longs in the BloomKFilter bitset
       */
      DataOutputStream dataOutputStream = new DataOutputStream(out);
      dataOutputStream.writeByte(bloomFilter.k);
      dataOutputStream.writeInt(bloomFilter.getBitSet().length);
      for (long value : bloomFilter.getBitSet()) {
        dataOutputStream.writeLong(value);
      }
    }