docs: public static ApproximateHistogram fromBytesDense(ByteBuffer buf)
    {
      int size = buf.getInt();
      int binCount = buf.getInt();
  
      float[] positions = new float[size];
      long[] bins = new long[size];
  
      buf.asFloatBuffer().get(positions);
      buf.position(buf.position() + Float.BYTES * positions.length);
      buf.asLongBuffer().get(bins);
      buf.position(buf.position() + Long.BYTES * bins.length);
  
      float min = buf.getFloat();
      float max = buf.getFloat();
  
      return new ApproximateHistogram(binCount, positions, bins, min, max);
    }