|
10Duke Enterprise C++ Client
|
#include <Win32URLDecoder.h>
Win32 implementation of tenduke::net::URLDecoder.
Public Member Functions | |
| std::string | decode (const char *stringToDecode, std::size_t len) const override |
| URL-decodes given string. | |
| std::string | decode (const char *value) const override |
| URL-decodes given null-terminated string. | |
|
overridevirtual |
URL-decodes given string.
This assumes that the encoded value decodes to e.g. UTF-8 encoded string. Technically the decoded data could be binary data.
| tenduke::net::URLException | if the decoding failed |
Implements tenduke::net::URLDecoder.
|
overridevirtual |
URL-decodes given null-terminated string.
This default implementation computes the length of the string and delegates to the other decode()-method.
| tenduke::net::URLException | if the decoding failed |
| string | - |
Reimplemented from tenduke::net::URLDecoder.