文件名称:uri_codec
- 所属分类:
- Internet/网络编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2014-05-07
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Base64是网络上最常见的用于传输8Bit字节代码的编码方式之一,大家可以查看RFC2045~RFC2049,上面有MIME的详细规范。Base64编码可用于在HTTP环境下传递较长的标识信息。例如,在Java Persistence系统Hibernate中,就采用了Base64来将一个较长的唯一标识符(一般为128-bit的UUID)编码为一个字符串,用作HTTP表单和HTTP GET URL中的参数。在其他应用程序中,也常常需要把二进制数据编码为适合放在URL(包括隐藏表单域)中的形式。此时,采用Base64编码不仅比较简短,同时也具有不可读性,即所编码的数据不会被人用肉眼所直接看到-Base64 is one of the most common network for the transmission 8Bit encoding byte code, we can see RFC2045 ~ RFC2049, there MIME detailed specification above. Base64 encoding can be used to pass a longer identifying information in the HTTP environment. For example, in the Hibernate Java Persistence system, it uses a Base64 to a longer unique identifier (typically a 128-bit UUID) encoded as a string used for HTTP and HTTP GET URL in the form of parameters. In other applications, it is often necessary to encode binary data to fit on URL (including hidden form fields) in the form. At this point, using Base64 encoding is not only relatively brief, but also has not readable, encoded data that is not being directly seen with the naked eye
(系统自动生成,下载前可以参看下载内容)
下载文件列表
uri_codec.c