![]() |
Bytearray kopieren
Hallo,
gibt es eine Möglichkeit ein Byte-Array alá Copy zu kopieren? Ich habe ein Array of Byte und müsste die Daten in ein anderes kopieren. Also so etwas wie:
Delphi-Quellcode:
Das ganze müsste aber schnell sein:wink:.
function CopyByteArray(Source : TByteArray, Index, Count : Word): TByteArray;
Danke |
AW: Bytearray kopieren
Wenn ich's recht in Erinnerung hab' dann muß bei Copy die Variable ein dynamisches Array sein:
Delphi-Quellcode:
var
A, B: TByteDynArray; begin B:= Copy(A); oder auch z.B. B:= Copy(A, 2, 4); |
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:46 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz