docs: public static DoubleHistogram decodeFromCompressedByteBuffer(
              final ByteBuffer buffer,
              Class<? extends AbstractHistogram> internalCountsHistogramClass,
              long minBarForHighestToLowestValueRatio) throws DataFormatException {
          int cookie = buffer.getInt();
          if (!isCompressedDoubleHistogramCookie(cookie)) {
              throw new IllegalArgumentException("The buffer does not contain a compressed DoubleHistogram");
          }
          DoubleHistogram histogram = constructHistogramFromBuffer(cookie, buffer, internalCountsHistogramClass,
                  minBarForHighestToLowestValueRatio);
          return histogram;
      }