gstrtspbase64

## gstrtspbase64 gstrtspbase64 — Helper functions to handle Base64 |

## Functions

gchar * | gst_rtsp_base64_encode ()
void | gst_rtsp_base64_decode_ip ()

## Includes

    #include <gst/rtsp/gstrtspbase64.h>

## Description

Last reviewed on 2007-07-24 (0.10.14)

## Functions

### gst_rtsp_base64_encode ()

    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.

#### Parameters

data | the binary data to encode |
len | the length of `data` |

#### Returns

a newly allocated, zero-terminated Base-64 encoded string representing `data` .

### gst_rtsp_base64_decode_ip ()

    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.

#### Parameters

data | the base64 encoded data |
len | location for output length or NULL |

## Types and Values