Documentation

Text::EncodeBase64

Function

string Text::EncodeBase64(const string&in, bool url = false)

Encode a string as a base64 encoded string. Note that if you want to encode binary data, you should probably use MemoryBuffer::ReadToBase64 instead.

string

bool url

Whether to use URL-encoded unpadded base64 encoding or not.

Returns string