RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStreamReader.ReadToEnd Method

Read rest of characters from stream.

Pascal
function ReadToEnd: string; override;
C++
virtual __fastcall AnsiString ReadToEnd();

ReadToEnd reads characters from the current position in the stream to its end, returning the result as a string. 

This method is functionally identical to the Microsoft .NET method StreamReader.ReadToEnd

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!