KDECore
k3iobuffer.h
Go to the documentation of this file.
44class KDECORE_EXPORT_DEPRECATED KIOBufferBase //krazy:exclude=inline (mainly virtual; simple implementations; KDE3 compat)
virtual bool canReadLine() const =0
Returns true if a line can be read from the buffer.
bool isFull() const
Returns true if the buffer is full (i.e., cannot receive more data)
Definition: k3iobuffer.h:106
virtual qint64 readLine(char *data, qint64 maxlen)=0
Reads a line from the buffer and discards it.
virtual qint64 consumeBuffer(char *data, qint64 maxlen, bool discard=true)=0
Consumes data from the beginning of the buffer.
virtual qint64 feedBuffer(const char *data, qint64 len)=0
Adds data to the end of the buffer.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.