Rule and << 8... something I do not understand

Please use code fences when posting code…

<< is a bitwise operator
<< 8 is equivalent to * 256 have you tried that?