GStreamer Base Plugins 0.10 Library Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#include <gst/rtsp/gstrtspbase64.h> gchar * gst_rtsp_base64_encode (const gchar *data
,gsize len
); void gst_rtsp_base64_decode_ip (gchar *data
,gsize *len
);
gchar * gst_rtsp_base64_encode (const gchar *data
,gsize len
);
gst_rtsp_base64_encode
is deprecated and should not be used in newly-written code. Use g_base64_encode()
Encode a sequence of binary data into its Base-64 stringified representation.
|
the binary data to encode |
|
the length of data
|
Returns : |
a newly allocated, zero-terminated Base-64 encoded string
representing data . |
void gst_rtsp_base64_decode_ip (gchar *data
,gsize *len
);
gst_rtsp_base64_decode_ip
is deprecated and should not be used in newly-written code. use g_base64_decode_inplace()
instead.
Decode the base64 string pointed to by data
in-place. When len
is not NULL
it will contain the length of the decoded data.
|
the base64 encoded data |
|
location for output length or NULL |