I have an image that is Base64 encoded. What is the best way to decode that in Java? Hopefully using only the libraries included with Sun Java 6.
You can simply try this.
byte[] data = Base64.getDecoder().decode(base64fileContent);
"Base64.getDecode()" returns a Base64 Decoder that can be decoded. Then you need to decode that again using ".decode()"