| 431 | /** Parsing helpers */ |
| 432 | |
| 433 | void skipUntilWhitespace(ReadBuffer & buf) |
| 434 | { |
| 435 | while (!buf.eof()) |
| 436 | { |
| 437 | char * next_pos = find_first_symbols<'\t', '\n', ' '>(buf.position(), buf.buffer().end()); |
| 438 | buf.position() = next_pos; |
| 439 | |
| 440 | if (!buf.hasPendingData()) |
| 441 | continue; |
| 442 | |
| 443 | if (*buf.position() == '\t' || *buf.position() == '\n' || *buf.position() == ' ') |
| 444 | return; |
| 445 | } |
| 446 | } |
| 447 | |
| 448 | void skipUntilNextLine(ReadBuffer & buf) |
| 449 | { |
no test coverage detected