code: @JsonValue
    public byte[] toBytes()
    {
      ByteBuffer buf = ByteBuffer.allocate(getMinStorageSize());
      toBytes(buf);
      return buf.array();
    }
docs: Returns a byte-array representation of this ApproximateHistogram object
  
  @return byte array representation