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.
Specifically in Commons Codec: class Base64 to decode(byte[] array) or encode(byte[] array)
decode(byte[] array)
encode(byte[] array)