#include <string>
#include <string_view>
Go to the source code of this file.
|
static std::string | hex_encode (const char *data, unsigned int data_size) |
|
static std::string | hex_encode (std::string_view data) |
|
static bool | hex_digit_decode (char hexdigit, unsigned char &value) |
|
|
static const char | hex_chars [] = "0123456789abcdef" |
|
◆ hex_digit_decode()
static bool hex_digit_decode |
( |
char | hexdigit, |
|
|
unsigned char & | value ) |
|
inlinestatic |
◆ hex_encode() [1/2]
static std::string hex_encode |
( |
const char * | data, |
|
|
unsigned int | data_size ) |
|
inlinestatic |
References hex_chars.
Referenced by ClientMediaDownloader::addFile(), Server::addMediaFile(), IClientMediaDownloader::checkAndLoad(), clientMediaUpdateCache(), clientMediaUpdateCacheCopy(), encodeHexColorString(), hex_encode(), ModApiUtil::l_sha1(), ModApiUtil::l_sha256(), Translations::loadMoTranslation(), lookup_keychar(), SingleMediaDownloader::startRemoteMediaTransfer(), ClientMediaDownloader::startRemoteMediaTransfers(), IClientMediaDownloader::tryLoadFromCache(), utf8_to_wide(), and wide_to_utf8().
◆ hex_encode() [2/2]
static std::string hex_encode |
( |
std::string_view | data | ) |
|
|
inlinestatic |
◆ hex_chars
const char hex_chars[] = "0123456789abcdef" |
|
static |