Another quick question:
I want to reverse the byte(not the bit) I already read in one buffer.
I pretty confident there is an existing C function that does that already right?
I can write one but I do not think there is any need reinvinting the wheel, innit?
say for instance I have read four bytes:
64 C0 0C 0E
and I want them to be
0E 0C C0 64
cheers
I want to reverse the byte(not the bit) I already read in one buffer.
I pretty confident there is an existing C function that does that already right?
I can write one but I do not think there is any need reinvinting the wheel, innit?
say for instance I have read four bytes:
64 C0 0C 0E
and I want them to be
0E 0C C0 64
cheers