Bid
Option
as u8
转成ASCIIx << n
bitwise left shift A left shift byn
position multiplies the number by2^n
, meansx * 2^n
&
bitwise AND return both1
in position.x ^= y
XOR return 1 if exactly one of bits is 1, other 0; Then return the value tox
;