API:System.Classes.TStringReader.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 | TStringReader |
Description
Read character without changing TTextReader state.
System.Classes.TStringReader.Peek inherits from System.Classes.TTextReader.Peek. All content below this line refers to System.Classes.TTextReader.Peek.
Read character without changing TTextReader state.
Peek reads a character without changing the state of the TTextReader or data source. Subsequent reads occur as if the Peek didn't happen.
This method is functionally identical to the Microsoft .NET method TextReader.Peek.
See Also
Code Examples