Documentation

Text::EncodeHex

Function

string Text::EncodeHex(const string&in, bool upper = false)

Encodes a string so that all characters are encoded as a sequence of hexadecimal bytes. Note that if you want to encode binary data, you should probably use MemoryBuffer::ReadToHex instead.

string

bool upper

Whether to output uppercase characters.

Returns string