Approach for converting base64 to binary?

I have a web service that my orchestration consumes that returns a value in
base64. I want to get the base64 content, set it as the body of a message
and then send the message out to a port (file adapter).

Does anyone have a tip on the best/simplest way to achieve this?