API:Datasnap.DSSession.TDSSynchronizedLocalChannel.Write
Delphi
function Write(const Buffer: TArray<Byte>; const Offset: Integer; const Count: Integer): Integer; override;
C++
virtual int __fastcall Write(const System::DynamicArray<System::Byte> Buffer, const int Offset, const int Count);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.DSSession.pas Datasnap.DSSession.hpp |
Datasnap.DSSession | TDSSynchronizedLocalChannel |
Description
Sends bytes into the communication layer.
Datasnap.DSSession.TDSSynchronizedLocalChannel.Write inherits from Data.DBXTransport.TDBXLocalChannel.Write. All content below this line refers to Data.DBXTransport.TDBXLocalChannel.Write.
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.