System.Classes.TTextReader.Read

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Read: Integer; overload; virtual; abstract;
function Read(var Buffer: TCharArray; Index, Count: Integer): Integer; overload; virtual; abstract;

C++

virtual int __fastcall Read() = 0 /* overload */;
virtual int __fastcall Read(System::DynamicArray<System::WideChar> &Buffer, int Index, int Count) = 0 /* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes TTextReader

Description

Read character data, advancing pointer.

Read reads data from the input source and advances the data pointer to the source, unlike Peek.

This method is functionally identical to the Microsoft .NET method TextReader.Read.

See Also

Code Examples