public static KllFloatsSketch deserializeKll(byte[] buf, int start, int len) {
    InputStream is = new ByteArrayInputStream(buf, start, len);
    try {
      KllFloatsSketch result = deserializeKll(is);
      is.close();
      return result;
    } catch (IOException e) {
      throw new RuntimeException(e);
    }
  }
This function deserializes the serialized KLL sketch from a byte array.
@param buf to deserialize
@param start start index for deserialization
@param len start+len is deserialized
@return KLL sketch
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/common/histogram/kll/KllUtils.java