Data.DB.TPlatformValueBuffer.Copy

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

class procedure Copy(Buffer: TValueBuffer; const Dest: TArray<Byte>; Offset: Integer; Count: Integer); overload; static; inline;
class procedure Copy(const Source: TArray<Byte>; Offset: Integer; Buffer: TValueBuffer; Count: Integer); overload; static; inline;
class procedure Copy(const Source: TArray<Byte>; Offset: Integer; Buffer: Pointer; Count: Integer); overload; static; inline;

C++

static void __fastcall Copy(TValueBuffer Buffer, const System::DynamicArray<System::Byte> Dest, int Offset, int Count)/* overload */;
static void __fastcall Copy(const System::DynamicArray<System::Byte> Source, int Offset, TValueBuffer Buffer, int Count)/* overload */;
static void __fastcall Copy(const System::DynamicArray<System::Byte> Source, int Offset, void * Buffer, int Count)/* overload */;

Description

Copies the content of an instance of TValueBuffer into an array of bytes, or copies the content of an array of bytes into the specified instance of TValueBuffer.

Offset is a number of bytes at the beginning of the array of bytes to ignore. Count is the number of bytes to copy into the target array of bytes or instance of TValueBuffer.

See Also