System.Classes.TReader.Read

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

void __fastcall Read(void *Buffer, NativeInt Count)/* overload */;
void __fastcall Read(System::DynamicArray<System::Byte> Buffer, NativeInt Offset, NativeInt Count)/* overload */;
void __fastcall Read(System::DynamicArray<System::Byte> Buffer, NativeInt 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