Datasnap.DSTCPServerTransport.TDSTCPChannel.Read
Delphi
function Read(const Buffer: TArray<Byte>; const Offset: Integer; const Count: Integer): Integer; override;
C++
virtual int __fastcall Read(const System::DynamicArray<System::Byte> Buffer, const int Offset, const int Count);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.DSTCPServerTransport.pas Datasnap.DSTCPServerTransport.hpp |
Datasnap.DSTCPServerTransport | TDSTCPChannel |
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.