<div class="gmail_quote">On Sat, Feb 13, 2010 at 12:58 PM, David Abbott <span dir="ltr"><<a href="mailto:david@pythontoo.com">david@pythontoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<snip><br>
I don't understand the l>>24 & 255.<br>
<br>
from the docs;<br>
Right Shift a >> b rshift(a, b)<br>
Bitwise And a & b and_(a, b)<br></blockquote><div><br></div><div>They're binary operations... </div><div><br></div><div>If you're not familiar, wikipedia or google can find you many sources.</div><div><br></div>
<div>In a nutshell:</div><div><br></div><div>0110 >> 1 == 0011</div><div>0011 >> 1 == 0001</div><div><br></div><div>0110 & 0101 == 0100</div><div>0100 & 0001 == 0000</div><div><br></div><div>HTH,</div>
<div>Wayne</div></div>