Data.DB.TPlatformValueBuffer.Copy
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;
C++
static void __fastcall Copy(System::DynamicArray<System::Byte> Buffer, const System::DynamicArray<System::Byte> Dest, int Offset, int Count)/* overload */;
static void __fastcall Copy(const System::DynamicArray<System::Byte> Source, int Offset, System::DynamicArray<System::Byte> Buffer, int Count)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.DB.pas Data.DB.hpp |
Data.DB | TPlatformValueBuffer |
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.