Datasnap.DSSession.TDSLocalSession.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 | TDSLocalSession |
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.