Base64.encode

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

class Base64
static
string
encode
(
char* data
,)

Parameters

data char*

the binary data to encode

len gsize

the length of data

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