Sese Framework
2.3.0
A cross-platform framework
|
Percent sign encoding converter. More...
#include <PercentConverter.h>
Public Types | |
using | OutputStream = io::OutputStream |
Public Member Functions | |
PercentConverter ()=delete | |
Public Member Functions inherited from sese::NotInstantiable | |
NotInstantiable ()=delete | |
virtual | ~NotInstantiable ()=default |
NotInstantiable (const NotInstantiable &)=delete | |
NotInstantiable & | operator= (const NotInstantiable &)=delete |
Static Public Member Functions | |
static void | encode (const char *src, const OutputStream::Ptr &dest) |
static bool | decode (const char *src, const OutputStream::Ptr &dest) |
static void | encode (const char *src, OutputStream *dest) |
static bool | decode (const char *src, OutputStream *dest) |
static std::string | encode (const char *src) |
static std::string | decode (const char *src) |
Static Private Attributes | |
static const std::set< char > | URL_EXCLUDE_CHARS |
Percent sign encoding converter.
|
delete |
|
static |
Decode string
src | String to be decoded |
{} | Decoding failed |
References sese::text::AbstractStringBuffer::append(), getHexChar(), and sese::text::AbstractStringBuffer::toString().
|
static |
References decode().
Referenced by decode(), and sese::net::http::RequestHeader::setUrl().
|
static |
References getHexChar(), and sese::io::OutputStream::write().
|
static |
|
static |
References encode().
Referenced by encode(), and sese::net::http::RequestHeader::getUrl().
|
static |
References getEncodeChar(), URL_EXCLUDE_CHARS, and sese::io::OutputStream::write().
|
staticprivate |
Referenced by encode().