95{
96 ByteStringArray elements;
97 ByteString::split(_begin, _end, '&', elements);
98
99 for(ByteStringArray::Iterator it = elements.begin();
100 it != elements.end(); it++)
101 {
102 ByteStringArray pair;
103 ByteString name;
104 ByteString value;
105
106 (*it).split(L'=', pair);
107 ByteStringArray::Iterator itPair = pair.begin();
108
109 if (itPair != pair.end()) {
110
111 name = *itPair;
112 if (!name.isEmpty()) {
113 itPair++;
114 value = itPair != pair.end() ?
116
117 (_results[UTF8Decoder::decode(name)])
118 .add(UTF8Decoder::decode(value));
119 }
120 }
121 }
122}
static ByteString decode(const char *_begin, const char *_end)