-
kakabossskdr
/*
base64.cpp 和 base64.h
版权所有 (C) 2004年-2008 René Nyffenegger
提供此源代码 " 作为-是 ",没有任何明示或暗示
保修。在没有事件将作者举行任何损害承担责任
因使用本软件。
授予任何人出于任何目的,使用此软件的权限
包括商业应用程序进行修改和重新发布它
自由,受到以下限制:
1.此源代码的起源必须不得歪曲 ;你必须不
声称是你写的原始源代码。如果您使用此源代码
在一种产品,确认产品文档中将
表示赞赏,但不是必需的。
2.改变源版本为此,必须有明确标记和一定不能
谎称为原始的源代码。
3.本公告不可能会被删除,或从任何源分布改动。
勒内 · Nyffenegger rene.nyffenegger@adp-gmbh.ch
*/
#include"stdafx.h"
//#include"base64.h"
#include"msvc_common.h"
#include < iostream >
静态 const std::string base64_chars =
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
""abcdefghijklmnopqrstuvwxyz
"0123456789 +";
静态内联 bool is_base64 (无符号的 char c) {
返回 (isalnum(c) | |(c == "+") ||(c == "/"));
}
std::string base64_encode (无符号的 char const * bytes_to_encode、 无符号的 in
- 2022-12-20 14:15:03下载
- 积分:1
-
创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制分别实现读者优先和写者优先问...
创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制分别实现读者优先和写者优先问题。-Create a console process, this process contains n threads. Use of these n threads to represent n-reader or writer. Each thread according to the requirements of the corresponding test data file read and write operations. Semaphore mechanism are used to achieve the reader and the writer first priority.
- 2023-03-25 23:30:03下载
- 积分:1
-
"C常用算法程序集" 第二版 徐士良主编 清华大学出版社
配套软盘...
"C常用算法程序集" 第二版 徐士良主编 清华大学出版社
配套软盘-usually use
- 2022-05-27 18:05:47下载
- 积分:1
-
This is a very powerful script framework, which is a comprehensive example.
这是一个功能非常强大的脚本框架,这是一个综合例子.-This is a very powerful script framework, which is a comprehensive example.
- 2022-10-21 19:05:04下载
- 积分:1
-
wince 5.0 MFC EVC 4.0 application
wince 5.0 MFC EVC 4.0 应用程序-wince 5.0 MFC EVC 4.0 application
- 2022-06-03 15:16:08下载
- 积分:1
-
s count入境游客
visitor s count entry
- 2023-02-06 17:30:04下载
- 积分:1
-
openfalshchart的使用方法和demo
openfalshchart的使用方法和demo-openfalshchart the use of methods and demo
- 2023-03-08 07:15:03下载
- 积分:1
-
digital electronic design, design the digital clock/watch with VC, including the...
数字电子课程设计,利用VC做的电子钟表设计,含有设计图-digital electronic design, design the digital clock/watch with VC, including the design diagrams
- 2023-07-18 23:15:03下载
- 积分:1
-
摇摆时钟,显示宽度为时分秒6 个字,再加上
两个冒号。
摇摆时钟,显示宽度为时分秒6 个字,再加上
两个冒号。-clock
- 2022-04-16 19:15:27下载
- 积分:1
-
用VC编写的实现图象透明的小程序,适合学习VC图象编程的人作参考
用VC编写的实现图象透明的小程序,适合学习VC图象编程的人作参考-VC Image prepared by the small transparent procedures for learning programming VC images of the people with reference
- 2022-12-02 08:30:03下载
- 积分:1