Open main menu

RAD Studio API Documentation β

Datasnap.DSSession.TDSTunnelSession.Read

[–] Properties
Type: function
Visibility: public
Source:
Datasnap.DSSession.pas
Datasnap.DSSession.hpp
Unit: Datasnap.DSSession
Parent: TDSTunnelSession

Delphi

function Read(const Buffer: TArray<Byte>; const Offset: Integer; const Count: Integer): Integer; virtual; abstract;

C++

virtual int __fastcall Read(const System::DynamicArray<System::Byte> Buffer, const int Offset, const int Count) = 0 ;

Description

Reads bytes from the communication layer.

The Read method is used to read Count bytes from the Offset index in the communication layer specified as a byte array buffer by the Buffer parameter. If no bytes are available yet, the call may be blocking.

See Also