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