base64Encode

fnstring base64Encode(ubyte[] data = null)

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

Parameters

datathe binary data to encode

Returns

a newly allocated, zero-terminated Base-64

encoded string representing data. The returned string must be freed with [glib.global.gfree].