System.TMarshal.Copy
Delphi
class procedure Copy(const Src: TArray<Byte>; StartIndex: Integer; Dest: TPtrWrapper; Count: Integer); overload;
class procedure Copy(const Src: TPtrWrapper; var Dest: TArray<Byte>; StartIndex: Integer; Count: Integer); overload;
class procedure Copy(const Src: TArray<Char>; StartIndex: Integer; Dest: TPtrWrapper; Count: Integer); overload;
class procedure Copy(const Src: TPtrWrapper; var Dest: TArray<Char>; StartIndex: Integer; Count: Integer); overload;
class procedure Copy(const Src: TArray<Word>; StartIndex: Integer; Dest: TPtrWrapper; Count: Integer); overload;
class procedure Copy(const Src: TPtrWrapper; var Dest: TArray<Word>; StartIndex: Integer; Count: Integer); overload;
class procedure Copy(const Src: TArray<Shortint>; StartIndex: Integer; Dest: TPtrWrapper; Count: Integer); overload;
class procedure Copy(const Src: TPtrWrapper; var Dest: TArray<Shortint>; StartIndex: Integer; Count: Integer); overload;
class procedure Copy(const Src: TArray<Smallint>; StartIndex: Integer; Dest: TPtrWrapper; Count: Integer); overload;
class procedure Copy(const Src: TPtrWrapper; var Dest: TArray<Smallint>; StartIndex: Integer; Count: Integer); overload;
class procedure Copy(const Src: TArray<Integer>; StartIndex: Integer; Dest: TPtrWrapper; Count: Integer); overload;
class procedure Copy(const Src: TPtrWrapper; var Dest: TArray<Integer>; StartIndex: Integer; Count: Integer); overload;
class procedure Copy(const Src: TArray<Int64>; StartIndex: Integer; Dest: TPtrWrapper; Count: Integer); overload;
class procedure Copy(const Src: TPtrWrapper; var Dest: TArray<Int64>; StartIndex: Integer; Count: Integer); overload;
class procedure Copy(const Src: TArray<TPtrWrapper>; StartIndex: Integer; Dest: TPtrWrapper; Count: Integer); overload;
class procedure Copy(const Src: TPtrWrapper; Dest: TArray<TPtrWrapper>; StartIndex: Integer; Count: Integer); overload;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure | public | System.pas | System | TMarshal |
説明
元の(raw)データを、メモリ ブロックにコピーします。
オーバーロード メソッドの Copy グループは、値型配列の元のデータと、wrapped pointer で参照されたメモリ ブロック間で、コピーを行います。
StartIndex
は、コピーを開始する配列要素を示します。Count
は、コピーする要素の数を表します。Src
は、Dest
にコピーされる元のデータのソースです。これらの両方とも、ラップ ポインタおよび配列で表されます。