What I’m trying to do is loop through the values in the byte array getting the first digit of each value and swapping its place with the second digit, so 35 would be 53 and 24 would be 42.. I can almost do this but i have to convert everything to strings and that seems a little overkill
I’ve tried it for a while but so far I’ve only figured that I can convert everything to a string and then work on them, just seems a little clunky..
It sounds like you want to swap the high and low nibble in each byte.
To do this, you want to shift the high nibble right 4 bits (to make it the low nibble), and shift the low nibble left 4 bits (to make it the high nibble).