* Find first occurrence of 8-bit char 'c'. * @return Offset from current reader position. 'npos' if no match found. */
| 552 | * @return Offset from current reader position. 'npos' if no match found. |
| 553 | */ |
| 554 | [[nodiscard]] size_type FindChar(char c) const |
| 555 | { |
| 556 | return this->Find({&c, 1}); |
| 557 | } |
| 558 | /** |
| 559 | * Find first occurrence of UTF-8 char 'c'. |
| 560 | * @return Offset from current reader position. 'npos' if no match found. |
no test coverage detected