Rotates the bits of an unsigned integer.

Namespace:  Classless.Hasher.Utilities
Assembly:  Classless.Hasher (in Classless.Hasher.dll) Version: 0.8.3649.33599

Syntax

C#
public static uint RotateLeft(
	uint value,
	int shift
)
Visual Basic (Declaration)
Public Shared Function RotateLeft ( _
	value As UInteger, _
	shift As Integer _
) As UInteger
Visual C++
public:
static unsigned int RotateLeft(
	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 RotateRight() operation.

See Also