问题
Hi My friend is using Base64 encoding standard in java.
I am using IPhone how can I decode the data. and viceversa. There is org.apache.commons.codec.binary.Base64.decodeBase64 in java
Thanks Deepak
回答1:
TouchCode has http://touchcode.googlecode.com/hg/Support/Common/Base64Transcoder.c (and .h)
回答2:
There is also some quite simple code you can use here:
http://www.cocoadev.com/index.pl?BaseSixtyFour
Another interesting way to do it, using OpenSSL:
http://www.dribin.org/dave/blog/archives/2006/03/12/base64_cocoa/
回答3:
use this code base64(github.com/nicklockwood/Base64)
来源:https://stackoverflow.com/questions/892223/how-can-i-decode-data-with-base64-in-iphone