Base64的EN codeR和去codeR [英] Base64 encoder and decoder
本文介绍了Base64的EN codeR和去codeR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有一个base-64去codeR和连接codeR对于Android的一个字符串?
Is there a base-64 decoder and encoder for a String in Android?
推荐答案
请参阅<一href="http://developer.android.com/reference/android/util/Base64.html"><$c$c>android.util.Base64$c$c>
看来,这是加入API版本8或Android 2.2,所以它不会提供对旧平台。
It seems that this was added in API version 8 or android 2.2 so it will not be available on the older platforms.
但它的来源是在<一个href="https://github.com/android/platform_frameworks_base/blob/master/core/java/android/util/Base64.java"><$c$c>android/util/Base64.java$c$c>因此,如果需要的人可以只复制它不变的旧版本。
But the source of it is at android/util/Base64.java
so if needed one could just copy it unchanged for older versions.
这篇关于Base64的EN codeR和去codeR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文