kbufferedio.h
232 outBufIndex ;
This abstract class implements basic functionality for buffered input/output.
Definition: kbufferedio.h:57
virtual int peekBlock(char *data, uint maxlen)=0
Reads into the user buffer at most maxlen bytes, but does not consume that data from the read buffer.
TQPtrList< TQByteArray > inBuf
For an explanation on how this buffer work, please refer to the comments at the top of kbufferedio....
Definition: kbufferedio.h:223
TQPtrList< TQByteArray > outBuf
For an explanation on how this buffer work, please refer to the comments at the top of kbufferedio....
Definition: kbufferedio.h:229
void bytesWritten(int nbytes)
This signal gets sent whenever bytes are written from the buffer.
virtual int waitForMore(int msec)=0
Returns the number of bytes available for reading in the read buffer.
virtual void closeNow()=0
Closes the stream now, discarding the contents of the write buffer.