Mar 21, 2013 at 1:04pm
result = result << 8;
What does it mean?
Mar 21, 2013 at 1:05pm
It means the following
result <<= 8;
:)
Mar 21, 2013 at 1:36pm
x<<y means 'x multiplied by 2 raised to the power y'.
<< is the bitwise shift operator
suppose a number 'x' in binary looks like this
00000110
Then x<<1 is 00001100 and x<<2 is 00011000.
Last edited on Mar 21, 2013 at 1:36pm