Base64.decode

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.

struct Base64
static
char[]
decode
(
string text
)

Parameters

text string

zero-terminated string with base64 text to decode

Return Value

Type: char[]

newly allocated buffer containing the binary data that text represents. The returned buffer must be freed with g_free().

Meta

Since

2.12