mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:07:34 +00:00
LibIMAP: Add and use Parser::consume_until_end_of_line()
This commit is contained in:
parent
8e8d1383b7
commit
ddd11b98d9
2 changed files with 11 additions and 8 deletions
|
@ -28,6 +28,7 @@ private:
|
|||
void consume(StringView);
|
||||
bool try_consume(StringView);
|
||||
StringView consume_while(Function<bool(u8)> should_consume);
|
||||
StringView consume_until_end_of_line();
|
||||
|
||||
bool at_end() { return position >= m_buffer.size(); };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue