KIMAP
imapstreamparser.h
73 * Get a string from the message. If the upcoming data is not a quoted string, unquoted string or a literal,
74 * the behavior is undefined. Use @ref hasString to be sure a string comes. This call might block.
qint64 readNumber(bool *ok=nullptr)
Get the next data as a number.
Definition imapstreamparser.cpp:389
ImapStreamParser(QIODevice *socket, bool serverModeEnabled=false)
Construct the parser.
Definition imapstreamparser.cpp:18
QList< QByteArray > readParenthesizedList()
Get he next parenthesized list.
Definition imapstreamparser.cpp:179
bool atListEnd()
Check if the next data is a parenthesized list end.
Definition imapstreamparser.cpp:163
bool atResponseCodeEnd()
Check if the next data is a response code end.
Definition imapstreamparser.cpp:293
bool atLiteralEnd() const
Check if the literal data end was reached.
Definition imapstreamparser.cpp:120
QByteArray readRemainingData()
Return all the data that was read from the socket, but not processed yet.
Definition imapstreamparser.cpp:450
QByteArray readString()
Same as above, but without decoding it to utf8.
Definition imapstreamparser.cpp:34
QByteArray readUntilCommandEnd()
Return everything that remained from the command.
Definition imapstreamparser.cpp:487
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:48:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:48:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.