Location:
Search - base64.h
Search list
Description: C++ Base64编码/解码源代码
inline int Base64Encode(char * base64code, const char * src, int src_len = 0)
inline int Base64Decode(char * buf, const char * base64code, int src_len = 0) 以上两个函数内联定义在base64.h中,使用时include \"base64.h\" 即可,编码后的长度一般比原文多占1/3的存储空间,为了效率,程序并没有检查目标存储区是否溢出,请保证有足够的存储空间。
-C Base64 encoding / decoding source code inline int Base64Encode (char * base64code, const char * src, int src_len = 0) inline int Base64Decode (char * buf, base64code const char *, int src_len = 0) over two letters few within the definition in conjunction base64.h, when used include "base64.h" can, coding the original length generally occupy more than 1 / 3 of storage space, in order to efficiency, procedures and did not check whether the target storage areas overflow, please ensure that there is sufficient storage space.
Platform: |
Size: 5583 |
Author: 王晓名 |
Hits:
Description: #include \"pch.h\"
#include \"base64.h\"
NAMESPACE_BEGIN(CryptoPP)
static const int MAX_LINE_LENGTH = 72
static const byte vec[] =
\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\"
static const byte padding = =
Base64Encoder::Base64Encoder(BufferedTransformation *outQueue, bool insertLineBreak)
: insertLineBreak(insertLineBreak), Filter(outQueue)
{
inBufSize=0
Platform: |
Size: 305134 |
Author: 扛的子 |
Hits:
Description: C++ Base64编码/解码源代码
inline int Base64Encode(char * base64code, const char * src, int src_len = 0)
inline int Base64Decode(char * buf, const char * base64code, int src_len = 0) 以上两个函数内联定义在base64.h中,使用时include "base64.h" 即可,编码后的长度一般比原文多占1/3的存储空间,为了效率,程序并没有检查目标存储区是否溢出,请保证有足够的存储空间。
-C Base64 encoding/decoding source code inline int Base64Encode (char* base64code, const char* src, int src_len = 0) inline int Base64Decode (char* buf, base64code const char*, int src_len = 0) over two letters few within the definition in conjunction base64.h, when used include "base64.h" can, coding the original length generally occupy more than 1/3 of storage space, in order to efficiency, procedures and did not check whether the target storage areas overflow, please ensure that there is sufficient storage space.
Platform: |
Size: 5120 |
Author: 王晓名 |
Hits:
Description: #include "pch.h"
#include "base64.h"
NAMESPACE_BEGIN(CryptoPP)
static const int MAX_LINE_LENGTH = 72
static const byte vec[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
static const byte padding = =
Base64Encoder::Base64Encoder(BufferedTransformation *outQueue, bool insertLineBreak)
: insertLineBreak(insertLineBreak), Filter(outQueue)
{
inBufSize=0 -# Include
Platform: |
Size: 303104 |
Author: 扛的子 |
Hits:
Description: Base64算法源码、0x30编解码、Hex编解码,这些一般在银行、通信等中,用于对二进制的数据流进行处理,转换成全可见的ASCII字符。这里提供的是.h和.cpp,简单明了,易于移植。-Base64 source algorithm, 0x30 codec, Hex codec, which generally in the banking, communications, etc., used for binary data stream processing, conversion Chengquan visible characters.
Platform: |
Size: 3072 |
Author: sck007 |
Hits:
Description: 原创,C语言实现Base64编码/解码的标准算法程序。-Original C language standard Base64 encoding/decoding algorithm standard procedures.
Platform: |
Size: 6144 |
Author: 沉沦 |
Hits:
Description: ACE中网络通讯编程基本架构
Base64的编解码方法
C++和C#编写调用COM组件
SQLite在VC下的使用
Skype录音答录机编程思路和代码
Strsafe.h:更安全的C语言字符串处理函数
Win32 结构化异常处理(SEH)探秘
Win32 系统线程信息块(TIB)浅析
从32位应用程序到64位应用程序
大型门户网站架构服务部署研究分析
改变 CListCtrl、CHeaderCtrl 高度、字体、颜色和背景
关于内存对齐
基于CDialogBar的IE多标签栏的实现
将Lua嵌入到自己的程序中
可编辑子项的CListCtrl类
类似QQ游戏大厅导航的树型控件
让C++也支持RMI
-ACE program in the network communication infrastructure Base64 encoder and decoder C++ and C#, call the COM component in VC SQLite use Skype audio recorder under the programming ideas and code Strsafe.h: safer string handling functions Win32 C language structure exception handling (SEH) Quest Win32 system thread information block (TIB) of 32-bit applications from 64-bit applications to large-scale deployment of the portal framework services research and analysis to change CListCtrl, CHeaderCtrl height, font, color and background on the memory alignment Based on the IE CDialogBar achieve more of the tab bar embedded Lua program can edit their own children' s CListCtrl class similar to the QQ games hall tree navigation control Rang C++ also supports the RMI
Platform: |
Size: 8392704 |
Author: 万全 |
Hits:
Description: 实现字符串的base64编码和解码,很好用的,接口已经定义好-Achieve base64 string encoding and decoding, the good, the interface has been defined
Platform: |
Size: 807936 |
Author: zhonghongbao |
Hits:
Description: 通过gsoap实现高效MTOM协议的数据传输,适合linux操作系统(包括嵌入式linux)下通过MTOM协议实现XML数据包及二进制数据同时传输的应用场景,比普通soap+base64方式发送数据更加高效。
调试mtom经验:
这次调试的一点经验供参考:
1)可以根据附件的yoyo.h文件生成代码,参考以下命令:
soapcpp2 -L -C -I/home/dongruijie/workspace/gsoap-2.8/gsoap/import yoyo.h
2)最好显式设置一下命名空间,客户端代码:
struct soap *soap = soap_new1(SOAP_ENC_MTOM)
soap_set_namespaces(soap, namespaces) //namespaces定义在.nsmap中,直接调用即可
运行Demo例子时:
1)修改mtom_client.cpp中的服务端URL
2)编译
make cl
make
3)运行
./mtom_client-By gsoap MTOM efficient data transmission protocol for linux operating systems (including embedded linux) By implementing XML and binary data packets transmitted simultaneously through MTOM protocol scenarios than ordinary soap+ base64 way to send data more efficiently.
Commissioning mtom Experience:
The commissioning of a little experience for reference:
1) You can generate code based on attachment yoyo.h file, refer to the following command:
soapcpp2-L-C-I/home/dongruijie/workspace/gsoap-2.8/gsoap/import yoyo.h
2) The best look explicitly set the namespace, the client code:
struct soap* soap = soap_new1 (SOAP_ENC_MTOM)
soap_set_namespaces (soap, namespaces) // namespaces defined in .nsmap, a direct call to
When running Demo examples:
1) Modify the server URL mtom_client.cpp
2) compilation
make cl
make
3)
Platform: |
Size: 524288 |
Author: kevin |
Hits:
Description: VC++发送带附件邮件程序,使用Smtp发送邮件,不带附件发送版本
main.cpp
CSmtp.cpp
CSmtp.h
base64.cpp
base64.h-VC++ program to send mail with attachments, using Smtp send mail without attachments version
main.cpp
CSmtp.cpp
CSmtp.h
base64.cpp
base64.h
Platform: |
Size: 2778112 |
Author: Gin |
Hits:
Description: 与base 64有关的网络编程,internet编程,http编程-http_base64.h Header file for base64 function(s).
* Created: Christopher Blizzard <blizzard@appliedtheory.com>, 20-Nov-1998
*
* Copyright (C) 1998 Free Software Foundation
*
* This library is free software you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Platform: |
Size: 1024 |
Author: 王永雄 |
Hits:
Description: 此软件属于网络编程 里面有一个cpp源文件 还有一个h头文件 头文件里面处理了一个base64编码的问题-Those code cover a cpp that can do for send the QQ email by SOCKET
Platform: |
Size: 4096 |
Author: liuwanfu |
Hits:
Description: Base64算法源码、0x30编解码、Hex编解码,这些一般在银行、通信等中,用于对二进制的数据流进行处理,转换成全可见的ASCII字符。这里提供的是.h和.cpp,简单明了,易于移植。-Base64 source algorithm, 0x30 codec, Hex codec, which generally in the banking, communications, etc., used for binary data stream processing, conversion Chengquan visible characters.
Platform: |
Size: 3072 |
Author: to364388 |
Hits: