tdeiobuffer.h
virtual bool setSize(TQ_LONG size)=0
Sets the size of the buffer, if allowed.
virtual TQ_LONG consumeBuffer(char *data, TQ_LONG maxlen, bool discard=true)=0
Consumes data from the beginning of the buffer.
virtual TQ_LONG feedBuffer(const char *data, TQ_LONG len)=0
Adds data to the end of the buffer.
virtual bool canReadLine() const =0
Returns true if a line can be read from the buffer.
virtual TQCString readLine()=0
Reads a line from the buffer and discards it.
TDEIOBufferBase & operator=(const TDEIOBufferBase &)
Assignment operator.
Definition: tdeiobuffer.h:69
bool isFull() const
Returns true if the buffer is full (i.e., cannot receive more data)
Definition: tdeiobuffer.h:107