* Read data until the first occurrence of 8-bit char 'c', and advance reader. * @param c Separator char. * @param sep Whether to include/exclude 'c' from the result, and/or skip it. */
| 763 | * @param sep Whether to include/exclude 'c' from the result, and/or skip it. |
| 764 | */ |
| 765 | [[nodiscard]] std::string_view ReadUntilChar(char c, SeparatorUsage sep) |
| 766 | { |
| 767 | return this->ReadUntil({&c, 1}, sep); |
| 768 | } |
| 769 | /** |
| 770 | * Skip data until the first occurrence of 8-bit char 'c'. |
| 771 | * @param c Separator char. |
no test coverage detected