in reply to Re^4: Bit order in bytes
in thread Bit order in bytes
I did say "apparent nybble swapping" :)
Its one of those things that has caused me to look twice on many occasions, but never caused me enough concern nor affected anything I was doing, to require investigation.
Now looking at it, it becomes clear that it just comes down to the fact that when we right "\x12",
we write the high nybble 0x1 before the low nybble 0x2.
Thus, when it is displayed with 'b', lsb -> msb, the digits appear to swap places.
Another red-herring laid bare :)
|
|---|