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