RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStreamReader.Peek Method

Get next character without changing stream pointer.

Pascal
function Peek: Integer; override;
C++
virtual __fastcall int Peek();

Peek gets the next character in the stream without changing the stream pointer. 

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

 

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