How do you decode a base64 field?

@Mohnish can you share an example of the base64 field you are trying to decode?