Rotates the bits of an unsigned integer.
Namespace:
Classless.Hasher.UtilitiesAssembly: Classless.Hasher (in Classless.Hasher.dll) Version: 0.8.3649.33599
Syntax
C# |
---|
public static uint RotateRight( uint value, int shift ) |
Visual Basic (Declaration) |
---|
Public Shared Function RotateRight ( _ value As UInteger, _ shift As Integer _ ) As UInteger |
Visual C++ |
---|
public: static unsigned int RotateRight( unsigned int value, int shift ) |
Parameters
- value
- Type: System..::.UInt32
The unsigned integer to rotate.
- shift
- Type: System..::.Int32
How many bits to rotate.
Return Value
The rotated unsigned integer.
Remarks
If the shift value is negative, the result is functionally equivalent to a RotateLeft() operation.