2 ms·
It makes sense to group hexadecimal numbers by two (nibbles). In this case 0x1_0000 is the least-significant bit of the third byte. If that's a bit flag encod
by 1_player 7y ago
It makes sense to group hexadecimal numbers by two (nibbles).
In this case 0x1_0000 is the least-significant bit of the third byte.
If that's a bit flag encoded in a 32bit value, I also like 0x0001_0000 for clarity.