1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>gstrtspbase64</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="GStreamer Base Plugins 0.10 Library Reference Manual">
8 <link rel="up" href="gstreamer-rtsp.html" title="RTSP Library">
9 <link rel="prev" href="gstreamer-rtsp.html" title="RTSP Library">
10 <link rel="next" href="gst-plugins-base-libs-gstrtspconnection.html" title="gstrtspconnection">
11 <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17 <td><a accesskey="p" href="gstreamer-rtsp.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18 <td><a accesskey="u" href="gstreamer-rtsp.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20 <th width="100%" align="center">GStreamer Base Plugins 0.10 Library Reference Manual</th>
21 <td><a accesskey="n" href="gst-plugins-base-libs-gstrtspconnection.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#gst-plugins-base-libs-gstrtspbase64.synopsis" class="shortcut">Top</a>
26 <a href="#gst-plugins-base-libs-gstrtspbase64.description" class="shortcut">Description</a>
29 <div class="refentry">
30 <a name="gst-plugins-base-libs-gstrtspbase64"></a><div class="titlepage"></div>
31 <div class="refnamediv"><table width="100%"><tr>
33 <h2><span class="refentrytitle"><a name="gst-plugins-base-libs-gstrtspbase64.top_of_page"></a>gstrtspbase64</span></h2>
34 <p>gstrtspbase64 — Helper functions to handle Base64</p>
36 <td valign="top" align="right"></td>
38 <div class="refsynopsisdiv">
39 <a name="gst-plugins-base-libs-gstrtspbase64.synopsis"></a><h2>Synopsis</h2>
40 <pre class="synopsis">
41 #include <gst/rtsp/gstrtspbase64.h>
43 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gst-plugins-base-libs-gstrtspbase64.html#gst-rtsp-base64-encode" title="gst_rtsp_base64_encode ()">gst_rtsp_base64_encode</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data</code></em>,
44 <em class="parameter"><code><span class="type">gsize</span> len</code></em>);
45 <span class="returnvalue">void</span> <a class="link" href="gst-plugins-base-libs-gstrtspbase64.html#gst-rtsp-base64-decode-ip" title="gst_rtsp_base64_decode_ip ()">gst_rtsp_base64_decode_ip</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data</code></em>,
46 <em class="parameter"><code><span class="type">gsize</span> *len</code></em>);
49 <div class="refsect1">
50 <a name="gst-plugins-base-libs-gstrtspbase64.description"></a><h2>Description</h2>
52 Last reviewed on 2007-07-24 (0.10.14)
55 <div class="refsect1">
56 <a name="gst-plugins-base-libs-gstrtspbase64.details"></a><h2>Details</h2>
57 <div class="refsect2">
58 <a name="gst-rtsp-base64-encode"></a><h3>gst_rtsp_base64_encode ()</h3>
59 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gst_rtsp_base64_encode (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data</code></em>,
60 <em class="parameter"><code><span class="type">gsize</span> len</code></em>);</pre>
61 <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
62 <h3 class="title">Warning</h3>
63 <p><code class="literal">gst_rtsp_base64_encode</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-Base64-Encoding.html#g-base64-encode"><code class="function">g_base64_encode()</code></a></p>
66 Encode a sequence of binary data into its Base-64 stringified representation.
68 <div class="variablelist"><table border="0">
69 <col align="left" valign="top">
72 <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
73 <td>the binary data to encode</td>
76 <td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
77 <td>the length of <em class="parameter"><code>data</code></em>
81 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
82 <td>a newly allocated, zero-terminated Base-64 encoded string
83 representing <em class="parameter"><code>data</code></em>.</td>
89 <div class="refsect2">
90 <a name="gst-rtsp-base64-decode-ip"></a><h3>gst_rtsp_base64_decode_ip ()</h3>
91 <pre class="programlisting"><span class="returnvalue">void</span> gst_rtsp_base64_decode_ip (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data</code></em>,
92 <em class="parameter"><code><span class="type">gsize</span> *len</code></em>);</pre>
93 <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
94 <h3 class="title">Warning</h3>
95 <p><code class="literal">gst_rtsp_base64_decode_ip</code> is deprecated and should not be used in newly-written code. use <a href="http://library.gnome.org/devel/glib/unstable/glib-Base64-Encoding.html#g-base64-decode-inplace"><code class="function">g_base64_decode_inplace()</code></a> instead.</p>
98 Decode the base64 string pointed to by <em class="parameter"><code>data</code></em> in-place. When <em class="parameter"><code>len</code></em> is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>
99 it will contain the length of the decoded data.
101 <div class="variablelist"><table border="0">
102 <col align="left" valign="top">
105 <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
106 <td>the base64 encoded data</td>
109 <td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
110 <td>location for output length or NULL</td>
119 Generated by GTK-Doc V1.18</div>