How to convert a string of Base64 to Byte Array?

Hi,
I am trying to convert a Base64 in string to byte arrays. Any ideas on how can I implement it in c++?

Thank you!!