Hi
I am getting a base64 byte[] from an xml file via jaxb and I am not sure how to convert this back to an gwt image (which is basically an underlying html img if I understood that correctly). How do I convert into the proper string?
My first instinct was to
public void onSuccess(final byte[] icon) {
img.setUrl("data:image/png;base64,"+icon.toString());
but obviously that does not work. Any help is appreciated!