System.Classes.TStringReader.Peek

From RAD Studio API Documentation
Jump to: navigation, search

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 TStringReader state.

Peek reads a character without changing the state of the TStringReader or data source. Subsequent reads occur as if the Peek didn't happen.

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

See Also

Code Examples