How can I decode data with Base64 in IPhone

泄露秘密 提交于 2019-12-01 05:47:09

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!