public void addString(String val) {
    if (val == null) {
      add(null);
    } else {
      add(val.getBytes(StandardCharsets.UTF_8));
    }
  }
A constructor to support rebuilding the BloomFilter from a serialized representation.
@param bits - bits are used as such for bitset and are NOT copied, any changes to bits will affect bloom filter
@param numFuncs - number of hash functions
storage-api/src/java/org/apache/hive/common/util/BloomFilter.java