11#include <codeanalysis\warnings.h>
13#pragma warning(disable: WXWIDGETS_CODE_ANALYSIS_WARNINGS)
51 case ']':
return true;
101 wxCharBuffer dst(dstLen);
102 dst.shrink(
wxURLEncode(dst.data(), dstLen, src, srcLen));
130 return wxURLEncode(
reinterpret_cast<const char*
>(buf.GetData()), buf.GetDataLen());
181inline size_t wxURLDecode(
char *dst,
size_t dstLen,
const wxString& src)
185 return wxURLDecode(dst, dstLen, src.ToAscii(), wxNO_LEN);
#define WXEXTEND_API
Public function calling convention.
Definition common.h:56
bool wxURLIsProtected(char chr)
Test if given character should be protected for URL encoding.
Definition url.h:30
size_t wxURLDecodedSize(size_t len)
Return the buffer size necessary for decoding a URL string of the given length.
Definition url.h:146
size_t WXEXTEND_API wxURLDecode(char *dst, size_t dstLen, const char *src, size_t srcLen=wxNO_LEN)
Raw decoding function which decodes the contents of the string of specified length (or zero terminate...
Definition url.cpp:50
size_t WXEXTEND_API wxURLEncode(char *dst, size_t dstLen, const char *src, size_t srcLen)
Raw URL encoding function which encodes the contents of a string of the specified length into the buf...
Definition url.cpp:10
size_t wxURLEncodedSize(size_t len)
Return the size needed for the buffer containing the encoded representation of a string of given leng...
Definition url.h:66