| 226 | } |
| 227 | |
| 228 | inline bool ParseUnsigned(const char* s, size_t length, uint8_t* out) { |
| 229 | uint8_t result = 0; |
| 230 | |
| 231 | do { |
| 232 | PARSE_UNSIGNED_ITERATION(uint8_t); |
| 233 | PARSE_UNSIGNED_ITERATION(uint8_t); |
| 234 | PARSE_UNSIGNED_ITERATION_LAST(uint8_t); |
| 235 | } while (false); |
| 236 | *out = result; |
| 237 | return true; |
| 238 | } |
| 239 | |
| 240 | inline bool ParseUnsigned(const char* s, size_t length, uint16_t* out) { |
| 241 | uint16_t result = 0; |
no outgoing calls