Data.DBXCommon.TDBXCommunicationLayer.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 | Data.DBXCommon.pas Data.DBXCommon.hpp |
Data.DBXCommon | TDBXCommunicationLayer |
Description
Writes bytes for a given buffer.
The Write method writes a number of bytes specified by the Count parameter, from a TBytes buffer specified by the Buffer parameter. The Offset parameter specifies the location of the first byte to be written from.
It is assumed that the buffer has enough memory allocated to hold the number of bytes specified by Count.