Howto Base64 decode (library) in J2ME?

試著忘記壹切 提交于 2019-12-23 04:51:04

问题


There are lots of Base64 libraries for Java SE but I can't seem to find one for J2ME.

Does any one have a algorithm or library in their coding toolkit?

I receive following from a REST webservice (cut for clearity) :

[137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,1,64,0,0,0,46]

How do I decode the string above?

Thanks!


回答1:


Try this code.
Confirm it once.



来源:https://stackoverflow.com/questions/3657047/howto-base64-decode-library-in-j2me

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