📜  c 急剧右旋转 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:09.455000             🧑  作者: Mango

代码示例3
public static uint RotateLeft(this uint value, int count)
{
    return (value << count) | (value >> (32 - count))
}

public static uint RotateRight(this uint value, int count)
{
    return (value >> count) | (value << (32 - count))
}