Internet Direct (Indy) Version 9.0.1 Beta
|
procedure RemoveXBytes(const AByteCount: integer);
RemoveXBytes shifts the contents of Memory so that only data bytes AByteCount through the Size of the buffer are available for further processing. When ByteCount and Size are the same, the memory buffer in Memory is reset using Clear.
RemoveXBytes will raise an EIdException when ABytes is larger than the Size of the TIdBuffer.
Note: Data in Memory should be handled in the manner appropriate to the application prior to calling RemoveXBytes.