资源简介
WechatSdkDemo.rar
代码片段和文件信息
#include “base64.h“
#include
//base64为解码
std::string decode_base64(const std::string base64 bool base64url = false)
{
unsigned int buf = 0;
int nbits = 0;
std::string tmp;
tmp.resize((base64.size() * 3) / 4);
int offset = 0;
for (int i = 0; i < base64.size(); ++i) {
int ch = base64.at(i);
int d;
if (ch >= ‘A‘ && ch <= ‘Z‘)
d = ch - ‘A‘;
else if (ch >= ‘a‘ && ch <= ‘z‘)
d = ch - ‘a‘ + 26;
else if (ch >= ‘0‘ && ch <= ‘9‘)
d = ch - ‘0‘ + 52;
else if (ch == ‘+‘ && (base64url) == 0)
d = 62;
else if (ch == ‘-‘ && (base64url) != 0)
d = 62;
else if (ch == ‘/‘ && (base64url) == 0)
d = 63;
else if (ch == ‘_‘ && (base64url) != 0)
d = 63;
else
d = -1;
if (d != -1) {
buf = (buf << 6) | d;
nbits += 6;
if (nbits >= 8) {
nbits -= 8;
tmp[offset++] = buf >> nbits;
buf &= (1 << nbits) - 1;
}
}
}
//tmp.truncate(offset);
if (offset < tmp.size())
tmp.resize(offset);
return tmp;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
..A..H. 103424 2019-08-06 17:21 FinanceSdkDemo\.vs\FinanceSdkDemo\v15\.suo
文件 50184192 2019-08-06 17:21 FinanceSdkDemo\.vs\FinanceSdkDemo\v15\Browse.VC.db
文件 40173568 2019-07-30 11:17 FinanceSdkDemo\.vs\FinanceSdkDemo\v15\ipch\AutoPCH\1780a0f3f91eca58\JSON_VALUE.ipch
文件 29949952 2019-08-06 16:56 FinanceSdkDemo\.vs\FinanceSdkDemo\v15\ipch\AutoPCH\19db4ae07013c8bf\MAIN.ipch
文件 327680 2019-07-29 17:46 FinanceSdkDemo\.vs\FinanceSdkDemo\v15\ipch\AutoPCH\38551825a4d4afff\MAIN.ipch
文件 30212096 2019-07-30 15:00 FinanceSdkDemo\.vs\FinanceSdkDemo\v15\ipch\AutoPCH\42134937117b6000\ba
文件 30539776 2019-08-06 11:16 FinanceSdkDemo\.vs\FinanceSdkDemo\v15\ipch\AutoPCH\4ebd9f7ee1e7420b\MAIN1.ipch
文件 30670848 2019-07-30 13:38 FinanceSdkDemo\.vs\FinanceSdkDemo\v15\ipch\AutoPCH\5b2dd92e5a5f7b0d\JSON_VALUE.ipch
文件 327680 2019-07-29 19:49 FinanceSdkDemo\.vs\FinanceSdkDemo\v15\ipch\AutoPCH\848234aeec07412f\MAIN.ipch
文件 43646976 2019-07-30 13:37 FinanceSdkDemo\.vs\FinanceSdkDemo\v15\ipch\AutoPCH\a72e3a3ccf5b3d04\JSON_WRITER.ipch
文件 30212096 2019-07-30 20:36 FinanceSdkDemo\.vs\FinanceSdkDemo\v15\ipch\AutoPCH\ebd7e67271988613\ba
文件 30212096 2019-08-06 10:27 FinanceSdkDemo\.vs\FinanceSdkDemo\v15\ipch\AutoPCH\f075e66b31d41e8b\ba
文件 30212096 2019-07-31 09:39 FinanceSdkDemo\.vs\FinanceSdkDemo\v15\ipch\AutoPCH\ff75015a173bfcb7\MAIN.ipch
文件 191111 2019-08-06 16:32 FinanceSdkDemo\FinanceSdkDemo\102
文件 438 2010-03-12 15:31 FinanceSdkDemo\FinanceSdkDemo\autoli
文件 980 2019-07-30 18:53 FinanceSdkDemo\FinanceSdkDemo\ba
文件 334 2019-07-30 20:33 FinanceSdkDemo\FinanceSdkDemo\ba
文件 1536 2010-03-12 15:31 FinanceSdkDemo\FinanceSdkDemo\config.h
文件 5 2019-08-06 16:42 FinanceSdkDemo\FinanceSdkDemo\data.txt
文件 1290 2010-03-12 15:31 FinanceSdkDemo\FinanceSdkDemo\features.h
文件 10095 2019-07-31 14:19 FinanceSdkDemo\FinanceSdkDemo\FinanceSdkDemo.vcxproj
文件 9922 2019-07-31 14:19 FinanceSdkDemo\FinanceSdkDemo\FinanceSdkDemo.vcxproj.filters
文件 165 2019-07-26 13:45 FinanceSdkDemo\FinanceSdkDemo\FinanceSdkDemo.vcxproj.user
文件 735 2010-03-12 15:31 FinanceSdkDemo\FinanceSdkDemo\forwards.h
文件 200 2010-03-12 15:31 FinanceSdkDemo\FinanceSdkDemo\json.h
文件 3929 2017-03-22 17:02 FinanceSdkDemo\FinanceSdkDemo\json_batchallocator.h
文件 3778224 2019-07-30 13:32 FinanceSdkDemo\FinanceSdkDemo\json_vc71_libmtd.lib
文件 340992 2019-07-04 20:14 FinanceSdkDemo\FinanceSdkDemo\libcurl.dll
文件 2081792 2019-07-04 17:06 FinanceSdkDemo\FinanceSdkDemo\libeay32.dll
文件 13599590 2018-06-28 14:05 FinanceSdkDemo\FinanceSdkDemo\libeay32.lib
............此处省略143个文件信息
相关资源
- 通过变化的电磁耦合,大型强子对撞
- Delphi XE10.3 破解文件
- Delphi XE10.2.3破解 破解
- 剖析Linux系统下基于NUMA构建的服务
- zend studio 12 破解 注册码 key 绿色版
- CCLicenseService
- WinRAR 4.0 简体中文破解版
- 单片机仿真软件proteus6.7免安装绿色版
- UltraEdit 26.x版本 激活工具
- 一种基于LM3150 Buck型开关电源设计.p
- 百度文库、豆丁、道客巴巴文件免费
- 改善分数分频锁相环合成器中的整数
- 233网校视频器2018最新绿色版
- OdooHotelManagementSystem 基于Odoo的酒店管
- SecureCRT-6.0.2安装包和SecureCRT-6.0.2注册
- 数据结构与算法课件ppt
- 方正超粗黑简体 FZCCHJW—GB1-0 字体
- FZCCHJW-GB10
- Dr. Cleaner Pro mac破解版
- kindle epub 电子书大全
- 迅雷敏感资源限制解除小工具.zip
- Eclipse编程技术与附CD-ROM光盘
- HEU_KMS_Activator_j
- pzs_44217116_06.aia
- Git汉化资源
- digital字体
- 浪潮英信服务器NP120D用户手册
- 看门狗复位的应用技巧
- Hillstone SA-2003高性能纯硬件安全网关产
- Hillstone ARP防护——StoneOS如何保
评论
共有 条评论