文件名称:base64test
介绍说明--下载内容均来自于网络,请自行研究使用
BASE64这种编码挺有意思的,可以把每3个(二进制)字节编码成以ASCII码表示的4个字节。可能会有人觉得奇怪,网页保存为mht格式后,明明只有一个文本文件,可是用浏览器打开后居然还有图片。其实,用记事本打开这些mht文件,可以看到一堆堆的”乱码“,这往往就是BASE64编码后的图片了。由于最近项目用到这个东西,于是去CSDN上下了个BASE64编解码的C++类。因为对效率没有特别的要求,所以只是用小图片试了一下,能用。-BASE64 encoding of this very interesting, can be every three (binary) encoded into a byte ASCII representation of 4 bytes. Some people may wonder, Save the page as mht format, obviously only a text file, but the browser is opened there is actually picture. In fact, use Notepad to open the mht file, you can see piles of " junk" , which is often the BASE64 encoded pictures. Use this thing because of the recent project, then went down CSDN had a BASE64 encoding and decoding C++ classes. Because no special requirements for efficiency, we only tried it with a small picture, can be used.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
base64test\Base64.cpp
..........\Base64.h
..........\Base64Test.cpp
..........\Base64Test.dsp
..........\Base64Test.dsw
..........\Base64Test.ncb
..........\Base64Test.plg
..........\Base64Test.sln
..........\Base64Test.suo
..........\Base64Test.vcproj
..........\Base64Test.vcproj.1080F4210DD149D.Administrator.user
..........\Base64Test.vcproj.云尘然-PC.云尘然.user
..........\Debug\Base64.obj
..........\.....\Base64Test.exe
..........\.....\Base64Test.exe.embed.manifest
..........\.....\Base64Test.exe.embed.manifest.res
..........\.....\Base64Test.exe.intermediate.manifest
..........\.....\Base64Test.ilk
..........\.....\Base64Test.obj
..........\.....\Base64Test.pch
..........\.....\Base64Test.pdb
..........\.....\BuildLog.htm
..........\.....\mt.dep
..........\.....\out.jpg
..........\.....\StdAfx.obj
..........\.....\test.jpg
..........\.....\vc90.idb
..........\.....\vc90.pdb
..........\StdAfx.cpp
..........\StdAfx.h
..........\test.jpg
..........\Debug
base64test
..........\Base64.h
..........\Base64Test.cpp
..........\Base64Test.dsp
..........\Base64Test.dsw
..........\Base64Test.ncb
..........\Base64Test.plg
..........\Base64Test.sln
..........\Base64Test.suo
..........\Base64Test.vcproj
..........\Base64Test.vcproj.1080F4210DD149D.Administrator.user
..........\Base64Test.vcproj.云尘然-PC.云尘然.user
..........\Debug\Base64.obj
..........\.....\Base64Test.exe
..........\.....\Base64Test.exe.embed.manifest
..........\.....\Base64Test.exe.embed.manifest.res
..........\.....\Base64Test.exe.intermediate.manifest
..........\.....\Base64Test.ilk
..........\.....\Base64Test.obj
..........\.....\Base64Test.pch
..........\.....\Base64Test.pdb
..........\.....\BuildLog.htm
..........\.....\mt.dep
..........\.....\out.jpg
..........\.....\StdAfx.obj
..........\.....\test.jpg
..........\.....\vc90.idb
..........\.....\vc90.pdb
..........\StdAfx.cpp
..........\StdAfx.h
..........\test.jpg
..........\Debug
base64test