| 1168 | const Span<const char> bytes = iterator.headerValue.toCharSpan(); |
| 1169 | while (iterator.valueOffset < bytes.sizeInBytes() and |
| 1170 | (bytes[iterator.valueOffset] == ',' or bytes[iterator.valueOffset] == ' ' or |
| 1171 | bytes[iterator.valueOffset] == '\t')) |
| 1172 | { |
| 1173 | iterator.valueOffset += 1; |
| 1174 | } |
| 1175 | |
| 1176 | const size_t tokenStart = iterator.valueOffset; |
| 1177 | while (iterator.valueOffset < bytes.sizeInBytes() and bytes[iterator.valueOffset] != ',') |
| 1178 | { |
| 1179 | iterator.valueOffset += 1; |
| 1180 | } |
| 1181 | |
| 1182 | const StringSpan token = trimAsciiWhiteSpace({bytes.data() + tokenStart, iterator.valueOffset - tokenStart}); |
| 1183 | if (iterator.valueOffset < bytes.sizeInBytes() and bytes[iterator.valueOffset] == ',') |
| 1184 | { |
| 1185 | iterator.valueOffset += 1; |
no outgoing calls