byte[] byaSourceData = { 0, 6, 7, 8, 2 }; byte[] byaDestinationData = new byte[2]; // 2 bytes von byaSourceData in byaDestinationData kopieren // Start ist das byte mit Index 1 im Quell-Array // Ziel ist Byte mit Index 0 im Ziel-Array Buffer.BlockCopy(byaSourceData, 1, byaDestinationData, 0, 2); // byaDestinationData beinhaltet nun 6, 7 Console.WriteLine(byaDestinationData.ToString());
Kategorien
-
Neueste Beiträge
- [SAP] IDOC-Verarbeitung
- [SAP] Analyse der Performance von ABAP CDS Views
- [SAP] ABAP CDS Views und Verwendung von Annotations
- [SAP] Adobe Forms Administration
- [Raspberry Pi] ZigBee USB-Sticks im Vergleich
- [Raspberry Pi] ZigBee: zigbee2mqtt einrichten, mosquitto broker installieren
- [ABAP] Leistungstammsatz anlegen
- [ABAP] Leistungstammsatz lesen
- [Raspberry Pi] Betriebsystemfunktionen ausführen
- [SAP] Übersichten zum ABAP Programming Model