Datasnap.DSSession.TDSTunnelSession.Write
Delphi
function Write(const Buffer: TArray<Byte>; const Offset: Integer; const Count: Integer): Integer; virtual; abstract;
C++
virtual int __fastcall Write(const System::DynamicArray<System::Byte> Buffer, const int Offset, const int Count) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.DSSession.pas Datasnap.DSSession.hpp |
Datasnap.DSSession | TDSTunnelSession |
Description
Sends bytes into the communication layer.
The Write method is used to send Count bytes into the communication layer specified as a byte array buffer, by the Buffer parameter, starting at the Offset index. This operation may be blocking until data is consumed by the middle tier.