Internet Direct (Indy) Version 9.0.2 Beta
TIdBuffer
Buffer used in Indy read and write operations.

TIdBuffer = class(TMemoryStream)
Description
TIdBuffer is a TMemoryStream descendant used in read and write buffering operations for Indy components. TIdBuffer includes all the inherited stream functionality of TMemoryStream, and extends the class with the RemoveXBytes method to manage dynamic memory buffer usage in Indy.

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