Topic Path: Symbol Reference > Classes > TIdIOHandler Class > TIdIOHandler Methods > InputBufferAsString Method
ContentsIndexHome
PreviousUpNext
TIdIOHandler.InputBufferAsString Method

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

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.

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