Base64.encode

Encode a sequence of binary data into its Base-64 stringified representation.

struct Base64
static
string
encode
(
char[] data
)

Parameters

data char[]

the binary data to encode

Return Value

Type: string

a newly allocated, zero-terminated Base-64 encoded string representing @data. The returned string must be freed with g_free().

Meta

Since

2.12