public boolean test(byte[] val) {
    if (val == null) {
      return testBytes(null, -1, -1);
    }
    return testBytes(val, 0, val.length);
  }
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