Indy 9
TIdBuffer
See Also
Buffer used in Indy read and write operations.
Description
TIdBuffer is a TMemoryStream descendant used in buffered read and write operations for Indy components. TIdBuffer includes all the inherited stream functionality of TMemoryStream, and extends the class with the Extract and Remove methods to manage buffer usage in Indy.

TIdBuffer also provides a protected TIdBufferBytesRemoved event handler that allows notification of data removal from the buffer.

TIdBuffer is used as a generic buffer in operations that read data from the TCP/IP protocol stack, and in classes that perform read or write buffering like TIdTCPConnection.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.