Binary is 1101, 1011 from high to low
From 0 to 2, 011=3
Take 3 to 4 11=3
Take 5 to 7=6 110
This operation
CodePudding user response:
Put up to the individual,CodePudding user response:
The bitwise exclusive or operationCodePudding user response:
Byte data=https://bbs.csdn.net/topics/0xdb;Int a1=data & amp; 0 x07;
Int a2=(data & gt;> 3) & amp; 0 x03;
Int a3=(data & gt;> 5) & amp; 0 x07;
CodePudding user response: