Function glib::functions::base64_encode

source ·
pub fn base64_encode(data: &[u8]) -> GString
Expand description

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

data

the binary data to encode

Returns

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