base64.sgml

来自「This GLib version 2.16.1. GLib is the lo」· SGML 代码 · 共 95 行

SGML
95
字号
<!-- ##### SECTION Title ##### -->Base64 Encoding<!-- ##### SECTION Short_Description ##### -->encodes and decodes data in Base64 format<!-- ##### SECTION Long_Description ##### --><para>Base64 is an encoding that allows to encode a sequence of arbitrarybytes as a sequence of printable ASCII characters. For the definitionof Base64, see <ulink url="http://www.ietf.org/rfc/rfc1421.txt">RFC 1421</ulink> or <ulink url="http://www.ietf.org/rfc/rfc2045.txt">RFC2045</ulink>. Base64 is most commonly used as a MIME transfer encodingfor email.</para><para>GLib supports incremental encoding using g_base64_encode_step() andg_base64_encode_close(). Incremental decoding can be done withg_base64_decode_step(). To encode or decode data in one go, use g_base64_encode() or g_base64_decode(). </para><para>Support for Base64 encoding has been added in GLib 2.12.</para><!-- ##### SECTION See_Also ##### --><para></para><!-- ##### SECTION Stability_Level ##### --><!-- ##### FUNCTION g_base64_encode_step ##### --><para></para>@in: @len: @break_lines: @out: @state: @save: @Returns: <!-- ##### FUNCTION g_base64_encode_close ##### --><para></para>@break_lines: @out: @state: @save: @Returns: <!-- ##### FUNCTION g_base64_encode ##### --><para></para>@data: @len: @Returns: <!-- ##### FUNCTION g_base64_decode_step ##### --><para></para>@in: @len: @out: @state: @save: @Returns: <!-- ##### FUNCTION g_base64_decode ##### --><para></para>@text: @out_len: @Returns: 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?