note
Anonymous Monk
A byte is 8 bits. A bit is a 1 or a 0 that spells out the
binary number corresponding to what you're trying to express.
2 in binary is 00000010. Shifting that to the left by
3 is this:
2 << 3 which yeilds 00010000 which is 8.
shifting bits is like taking an eight bit number and rotating
it in a certain direction.
11590
11788
9