Heyyo
Ich habe ein byte[] mit n Elementen.
Ich möchte nun eine ROL (RotateLeft) bzw ROR (RotateRight) operation durchführen.
Das heißt die element nach rechts bzw lniks verschieben. Das ganze soll aber circular sein, d.h. dass das letzte byte wieder
am anfang drangepackt wird.
Gibt es da evtl eine default Funktion vom Framework oder muss ich es per hand mit einem for loop machen?
Ich habe ein byte[] mit n Elementen.
Ich möchte nun eine ROL (RotateLeft) bzw ROR (RotateRight) operation durchführen.
Das heißt die element nach rechts bzw lniks verschieben. Das ganze soll aber circular sein, d.h. dass das letzte byte wieder
am anfang drangepackt wird.
Gibt es da evtl eine default Funktion vom Framework oder muss ich es per hand mit einem for loop machen?
C# Developer
Learning C++
Learning C++