I receive a piece of code written in java, that uses the operation >>>
, after a quick search, I found out that it "shifts a zero into the leftmost position", but I could not find a equal operation in python.
What would be the similar operation for the following code in python?
((CRC & 0xFF00) >>> 8)
as far as i know python's >>
does exactly that (what java's >>>
does). and the &
does the same is python as in java.
(CRC & 0xFF00) >> 8