System.Classes.TStreamReader.Peek

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Peek: Integer; override;

C++

virtual int __fastcall Peek(void);

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