Internet Direct (Indy)
Home
PreviousUpNext
TIdIOHandler.InputBufferAsString Method

Provides access to the contents of the Indy input buffer in string form.

Pascal
function InputBufferAsString: string;

string - Contents from the Indy input buffer in string form.

InputBufferAsString is a string function that provides access to the contents of the InputBuffer for the Indy connection. 

InputBufferAsString can be used to access any data stored in the InputBuffer for the IOHandler connection. 

The return value for InputBufferAsString represents the entire contents of InputBuffer. The return values are retrieved and removed from InputBuffer using this method. 

InputBufferAsString is used in the implementation of WaitFor and AllData

Use InputBufferToStream to access the contents of the Indy input buffer as a TIdStream instance. 

Use InputBufferIsEmpty to determine if any unhandled data exists in InputBuffer.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.