Data.DBXCommon.TDBXCommunicationLayer.Write

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.DBXCommon.pas
Data.DBXCommon.hpp
Unit: Data.DBXCommon
Parent: TDBXCommunicationLayer

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 ;

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.

See Also