say I have two chars and I want to mix up some of the bits in the chars. How exactly do I do this?
For example if I had:
and I wanted to switch the first bits of the chars to get:Code:1110 0101 0011 1101
How would I code that?Code:0110 0101 1011 1101
I know there is something that I'm forgetting and when someone tells me I'll kick myself, but right now I think I'm making this way harder than it is. Thank you.