cocos2dx 如何实现base64解码?下面有一段加了密的字符串 请高手帮忙用代码解码!!

cocos2dx 如何实现base64解码? 请高手帮忙写段 解码源码 把下面的加过密的字符串解析出来,谢谢!!!!!
eyJzdGF0dXMiOiIxIiwibWVzc2FnZSI6IuaBreWWnOaCqO+8jOiOt+WPluaIkOWKn++8gSIsImVycm9yQ29kZSI6IjEiLCJkYXRhIjp7IndvcmRfaWQiOiIxIiwid29yZF9uYW1lIjoi5Y2BIiwid2hpY2hfbGV2ZWwiOiIxIiwid29yZF9mcm9tIjoi44CQ6LW144CRIiwid29yZF95aiI6InNow60iLCJ3b3JkX2t4Ijoi44CQ5a2Q6ZuG5LiL44CR44CQ5Y2B6YOo44CRIOWNgSDCt+W6t+eGmeethueUu++8mjLjgIDCt+mDqOWkluethueUu++8mjAg44CK5ZSQ6Z+744CL44CK6Z+75pyD44CL5piv5Z+35YiH44CK6ZuG6Z+744CL5a+U5YWl5YiH44CK5q2j6Z+744CL5a+U5Z+35YiH77yM6Z+z5ou+44CC44CK6Kqq5paH44CL5Y2B77yM5pW45LmL5YW35Lmf44CC5LiA54iy5p2x6KW/77yM5Lio54iy5Y2X5YyX77yM5YmH5Zub5pa55Lit5aSu5YW355+j44CC5piT77yM5pW455Sf5LqO5LiA77yM5oiQ5LqO5Y2B44CC44CK5piTwrfnuavovq3jgIvlpKnkuZ3lnLDljYHjgILjgIrliY3mvKLCt+mfk+WuieWci+WCs+OAi+WIqeS4jeWNgeiAhe+8jOS4jeaYk+alreOAguWPiOmAmuS9nOS7gOOAguOAiuWtn+WtkOOAi+aIluebuOS7gOeZvuOAguOAiuWJjea8osK36LC35rC45YKz44CL5aSp5omA5LiN6aWX77yM5LuA5YCN5pa85YmN44CC44CK5p6a5LmX5YKz44CL5q2k5YW26IiH56em5Zyw55u45LuA77yM6ICM5Yqf55u455m+44CC5Y+I44CK6Z+75pyD44CL5Luk5a6Y5paH5pu45YCf5L2c5ou+44CC5Y+I44CK6Zm45ri46ICB5a246I+0562G6K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JflpJopO+WNgeiNoeWNgeWGsyjlpJrmrKHlhrLlh7vlnYfog73noLTmlYwpO+WNgeS4hyjmlbDnm67jgILlj4jlvaLlrrnmlbDph4/mnoHlpJopO+WNgeaBtuS6lOmAhijnp43np43kuI3lj6/otablhY3nmoTlpKfnvaopO+WNgeWwpyjlnKPkurrkvJflpJopO+WNgeaciyjorrjlpJrmnIvlj4spO+WNgeacieWFq+S5nSjnu53lpKflpJrmlbApICgzKSDpgJrigJzku4DigJ3jgILmnYIgW21pc2NlbGxhbmVvdXNd44CC5aaCOuWNgemUpjvljYHmoLfplKYo5pyJ5ZCE56eN5LiN5ZCM6Iqx57q555qE57uH6ZSmKSIsIndvcmRfc3dqeiI6Iua4heS7o+mZs+aYjOayu+WIu+acrOOAjuiqquaWh+ino+Wtl+OAj+OAkOWNt+S4ieOAkeOAkOWNgemDqOOAkeWNgeaVuOS5i+WFt+S5n+OAguS4gOeIsuadseilv++8jOS4qOeIsuWNl+WMl++8jOWJh+Wbm+aWueS4reWkruWCmeefo+OAguWHoeWNgeS5i+WxrOeahuS7juWNgeOAguaYr+Wft+WIh+a4heS7o+auteeOieijgeOAjuiqquaWh+ino+Wtl+azqOOAj+aVuOS5i+WFt+S5n+OAgua8ouW/l+OAguWNlOaWvOWNgeOAguS4gOeIsuadseilv+OAguS4qOeIsuWNl+WMl+OAguWJh+Wbm+aWueS4reWkruWCmeefo+OAguaYr+Wft+WIh+OAguS4g+mDqOOAguWHoeWNgeS5i+WxrOeahuS7juWNgeOAgiJ9fQ==

cocos2d-x有封装base64Decode;
2.x版本的话在cocos2d_lib/support/base64.h
3.x版本在cocos2d_lib/base/base64.h

我用了 打印出来的是乱码 没解开 。求具体用法。。
unsigned char b;
base64Decode((unsigned char
)res.c_str(),(unsigned int)res.length(),&b);
log("%s",b);

楼主最后怎么解决的?重新实现了一个?

解开了 对网页的内容进行了处理