Data.DBXDBReaders.TDBXDataSetRow.GetBytes

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.DBXDBReaders.pas
Data.DBXDBReaders.hpp
Unit: Data.DBXDBReaders
Parent: TDBXDataSetRow

Delphi

procedure GetBytes(DbxValue: TDBXByteArrayValue; Offset: Int64;
const Buffer: TArray<Byte>; BufferOffset: Int64; Length: Int64;
var ReturnLength: Int64; var IsNull: LongBool); override;

C++

virtual void __fastcall GetBytes(Data::Dbxcommon::TDBXByteArrayValue* DbxValue, __int64 Offset, const System::DynamicArray<System::Byte> Buffer, __int64 BufferOffset, __int64 Length, __int64 &ReturnLength, System::LongBool &IsNull);

Description

Updates the Buffer parameter to the value of a field specified by DbxValue by copying the field bytes into the Buffer parameter with an offset of BufferOffset.

ReturnLength represents the number of bytes copied into Buffer.

If no value is assigned to the specified field, the IsNull parameter is set to True.

See Also