E-MailRelay
|
An xtext codec class, encoding space as "+20" etc. More...
#include <gxtext.h>
Static Public Member Functions | |
static std::string | encode (const std::string &) |
Encodes the given string. More... | |
static std::string | decode (const std::string &) |
Decodes the given string. More... | |
static bool | valid (const std::string &, bool strict=false) |
Returns true if a valid encoding. More... | |
An xtext codec class, encoding space as "+20" etc.
|
static |
Decodes the given string.
Input strings must be un-strictly valid(), otherwise the result is undefined.
Definition at line 117 of file gxtext.cpp.
|
static |
Encodes the given string.
Definition at line 95 of file gxtext.cpp.
|
static |
Returns true if a valid encoding.
If strict then 'equals' and 'space' are disallowed and hex characters must be uppercase (eg. "+1A").
Definition at line 75 of file gxtext.cpp.