Decode a sequence of Base-64 encoded text into binary data. Note that the returned binary data is not necessarily zero-terminated, so it should not be used as a character string.
Available since: 2.12
Zero-terminated string with base64 text to decode.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
The length of the decoded data is written here.
The argument will be set by the function.
Type: An array of
newly allocated buffer containing the binary data that `text` represents. The returned buffer must be freed with g_free().
|The length of the array is in the |
|The caller of the function takes ownership of the data, and is responsible for freeing it.|