How do you decode a base64 field

I answered your question on the other thread: http://community.skuid.com/discussion/6974358/how-do-you-decode-a-base64-field#latest