ManaPlus
|
Go to the source code of this file.
Functions | |
unsigned char * | php3_base64_encode (const unsigned char *const string, int length, int *const ret_length) |
unsigned char * | php3_base64_decode (const unsigned char *const string, const int length, int *const ret_length) |
std::string | encodeBase64String (std::string value) |
std::string | decodeBase64String (std::string value) |
Variables | |
static char | base64_table [] |
static const char | base64_pad = '=' |
std::string decodeBase64String | ( | std::string | value | ) |
Definition at line 203 of file base64.cpp.
References CAST_S32, and php3_base64_decode().
Referenced by SetupItemTextField::cancel(), SetupItemTextField::createControls(), SetupItemTextField::externalUpdated(), Dirs::initScreenshotDir(), and SetupItemTextField::rereadValue().
std::string encodeBase64String | ( | std::string | value | ) |
Definition at line 188 of file base64.cpp.
References CAST_S32, and php3_base64_encode().
Referenced by Dirs::initScreenshotDir(), and SetupItemTextField::save().
unsigned char* php3_base64_decode | ( | const unsigned char *const | string, |
const int | length, | ||
int *const | ret_length | ||
) |
Definition at line 100 of file base64.cpp.
References base64_pad, base64_table, CAST_S32, and CAST_U8.
Referenced by decodeBase64String(), and MapReader::readBase64Layer().
unsigned char* php3_base64_encode | ( | const unsigned char *const | string, |
int | length, | ||
int *const | ret_length | ||
) |
Definition at line 46 of file base64.cpp.
References base64_pad, base64_table, and CAST_SIZE.
Referenced by encodeBase64String().
|
static |
Definition at line 44 of file base64.cpp.
Referenced by php3_base64_decode(), and php3_base64_encode().
|
static |
Definition at line 36 of file base64.cpp.
Referenced by php3_base64_decode(), and php3_base64_encode().