API:Datasnap.DSSession.TDSSynchronizedLocalChannel.ReadLocalData

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

function ReadLocalData(const Buffer: TArray<Byte>; const Offset: Integer; const Count: Integer): Integer; override;

C++

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

Description

Reads bytes from the communication layer.

Datasnap.DSSession.TDSSynchronizedLocalChannel.ReadLocalData inherits from Data.DBXTransport.TDBXLocalChannel.ReadLocalData. All content below this line refers to Data.DBXTransport.TDBXLocalChannel.ReadLocalData.

Reads bytes from the communication layer.

The ReadLocalData 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.

See Also