I have a this byte array for example
26 32 36 20 E0 EC 20 F9 F0 E9 E9 E3 F8 5C 70 5C 70 5C 73 20 E3 E2 EC 20 F8 E0 E5 E1 EF 29 39 31 5C
and as you can see I have the numbers 0x32,0x36 =26 and 0x39,0x31=91
I want to be able reverse the order and them put them in the old array or even create a new FIX array.
so it will be
26 36 32 20 E0 EC 20 F9 F0 E9 E9 E3 F8 5C 70 5C 70 5C 73 20 E3 E2 EC 20 F8 E0 E5 E1 EF 29 31 39 5C
36,32 -> 62 and 31,39-19
there is no rule when the numbers will be or after what
in C# the solution was with with Regex , list , match function .
how can I do this?
I thought that I can find the place of the number in the array them see if the next byte is a number too but them what?