System.Classes.TReader.Read

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Read(var Buffer; Count: Longint); overload;
procedure Read(Buffer: TBytes; Offset, Count: Longint); overload;
procedure Read(Buffer: TBytes; Count: Longint); overload;

C++

void __fastcall Read(void *Buffer, int Count)/* overload */;
void __fastcall Read(System::DynamicArray<System::Byte> Buffer, int Offset, int Count)/* overload */;
void __fastcall Read(System::DynamicArray<System::Byte> Buffer, int Count)/* overload */;

Properties

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

Description

Reads data from the associated stream.

Do not call read directly. Read is used internally to read data from the stream. Many other writer methods call Read, usually after setting pertinent values or verifying data types.

See Also