- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
base64转图片(外国英语资料)
base64转图片(国外英文资料)
Why use base64-encoded photo information
Base64 is one of the most common coding methods for transmitting 8Bit bytes of code on the web. Base64 is not primarily encrypted, but its main purpose is to convert some binary Numbers into normal characters for network transmission. Because some binary characters belong to the control character in the transport protocol, they cannot be transferred directly. The most common USES are the transcoding of E-mail or WebService attachments.
2. The base64 encoding definition
The current Internet E-mail standard, the simple mail delivery protocol (SMTP), specifies two important but not difficult limitations in rfc821:
1) the contents of the email must be all 7-bits ASCII.
2) the length of each line cannot exceed 1000 characters.
Therefore, in order to transmit through SMTP, the serialized object of memory must be converted to the compatible format.
Rfc1521 provides a viable solution. It defines the content portion of an email, allowing it to contain multiple forms of data. This standard is known as mime.
According to the rfc1521 encoding, the input is 24 bits and the output is 4 bytes. The 24-bit input group was formed from left to right by three 8-bit input groups. The 24 bits are viewed as four consecutive six bits, and each six-bit input group is translated into a number in the base64 code table. In turn, the process is repeated until the entire input data transformation is complete.
If the last two input data is left, add 1 = after the encoding result; If the final input data is left, the encoding results add 2 =; If you dont have any data left, dont add anything, so you can guarantee the correctness of the data reduction.
The full base64 definitions are visible RFC1421 and RFC2045. The encoded data is slightly longer than the original data, which is 4/3. In E-mail, according to RFC822, each 76 characters will need to be replaced by a carriage return. You can estimate that the data length is about 135.1 percen
您可能关注的文档
- 全新版大学英语(第二版) 4 课后翻译中英语(外国英语资料).doc
- 巧虎乐智小天地0706-0808目录(外国英语资料).doc
- 12864串行接口(外国英语资料).doc
- 12864的串行(外国英语资料).doc
- 64位WIN7比起32位WIN7的好处(外国英语资料).doc
- CentOS 6.6 64bit 安装getmail收取163邮件(外国英语资料).doc
- fc 吞食天地2 招收武将大法(外国英语资料).doc
- HP__8647A_8648A_D中文参数(外国英语资料).doc
- unicode编码范围(外国英语资料).doc
- win8安装那个版本好,64位还是32位(外国英语资料).doc
- 2026年新疆师范大学辅导员招聘备考题库最新.docx
- 2026年上海立达学院辅导员招聘备考题库最新.docx
- 2025年长城铝业公司职工工学院辅导员招聘备考题库附答案.docx
- 2025年重庆应用技术职业学院辅导员考试笔试真题汇编附答案.docx
- 2025年香港中文大学(深圳)辅导员招聘考试真题汇编最新.docx
- 2025年闽南科技学院辅导员考试笔试真题汇编附答案.docx
- 2025年青岛大学辅导员招聘考试真题汇编附答案.docx
- 2025年长春早期教育职业学院辅导员考试笔试真题汇编最新.docx
- 2026年东北农业大学辅导员招聘备考题库最新.docx
- 2025年陕西学前师范学院辅导员考试笔试题库最新.docx
最近下载
- 整本书阅读《红岩》课件(共2课时)(共59张PPT).pptx
- 潍坊科技学院《财务管理》2025 - 2026学年第一学期期末试卷.docx VIP
- 学堂在线 雨课堂 学堂云 兵棋 章节测试答案.docx VIP
- 2025广西公需科目培训考试答案(90分)一区两地一园一通道建设人工智能时代的机遇与挑战.docx VIP
- 2025年继续教育公需课考试题.docx VIP
- 开尔文电桥法测量电阻的电阻率.doc VIP
- 经导管主动脉瓣植入术患者的麻醉管理 - 华西医学.pdf
- 2025广东教师公需课《人工智能赋能制造业高质量发展》习题答案.pdf
- 32-5t双梁桥式起重机设计(含全套CAD图纸).pdf VIP
- 工程建设标准体系.docx VIP
原创力文档


文档评论(0)