decimal 255 = 0b11111111 = 0xFF
I'm usually concerned about bit positions, so I use 0b format a lot, and 0x format for less typing of obvious stuff, like walking a 1 across a byte: 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80
decimal 255 = 0b11111111 = 0xFF
I'm usually concerned about bit positions, so I use 0b format a lot, and 0x format for less typing of obvious stuff, like walking a 1 across a byte: 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80