Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Base64 to Binary

Status
Not open for further replies.

CBellucci

Programmer
Apr 20, 2007
38
US
This question is in regards to transferring binary data through XML.

I'm using STRCONV(cExpression, 13) to convert binary to Base64. Not sure if I need to be using STRCONV(cExpression, 14) instead (encoded vs. decoded), but I'll figure that out.

My question is: When I get the Base64 data, how do I translate that to binary data? Is that another STRCONV call or do I have to write code to get it translated?

Thanks!
 
You've already answered the question yourself. One of the calls is to encode from binary to base64, the other is to decode. You'll figure out yourself which is for what.

Bye, Olaf.
 
Yep, just played around with it... and I was coming back here to let everyone know I had the "Aha!" moment tagged along with the "Duh!" moment.

You were just too quick, Olaf! Thanks so much!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top