Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图创建一个函数,以整数形式旋转每个字节(我在整数中只设置了一个位,并且最后一个字节没有使用)但是我把这个堆叠起来我到目前为止
private int RotateBytes(int num,int length) { int mask = 0x00818181; mask &= num; int newnum = num<<length; }