Topic Path: Symbol Reference > Classes > TIdIOHandler Class > TIdIOHandler Methods > WriteBufferClear Method
TIdIOHandler.WriteBufferClear Method

Discards any exisitng data in the write buffering mechanism.

procedure WriteBufferClear; virtual;

WriteBufferClear is a virtual procedure used to discard any existing values found the write buffering mechanism for the IOHandler. 

WriteBufferClear calls the Clear method found in the TIdBuffer instances used for the WriteBuffer property. 

Use WriteBufferCancel to clear and disable write buffering for the IOHandler. 

Use WriteBufferFlush to force data in the write buffer to be written to the connection for the IOHandler.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.