System.Classes.TStreamReader.Peek
Delphi
function Peek: Integer; override;
C++
virtual int __fastcall Peek();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TStreamReader |
Description
Get next character without changing stream pointer.
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.
See Also
Code Examples