System.Classes.TStreamReader.Read
Delphi
function Read: Integer; overload; override;
function Read(var Buffer: TCharArray; Index, Count: Integer): Integer; overload; override;
C++
virtual int __fastcall Read()/* overload */;
virtual int __fastcall Read(System::DynamicArray<System::WideChar> &Buffer, int Index, int Count)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TStreamReader |
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 StreamReader.Read.
See Also
Code Examples