in C++ theres _rotl and _rotr is there an equivalent method for those in c#?
in C++ theres _rotl and _rotr is there an equivalent method for those in c#?
Credit: C# bitwise rotate left and rotate right - Stack OverflowCode:public static uint RotateLeft(this uint value, int count) { return (value << count) | (value >> (32 - count)) } public static uint RotateLeft(this uint value, int count) { return (value >> count) | (value << (32 - count)) }