Rotates the bits of an unsigned long integer.

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

Syntax

C#
public static ulong RotateLeft(
	ulong value,
	int shift
)
Visual Basic (Declaration)
Public Shared Function RotateLeft ( _
	value As ULong, _
	shift As Integer _
) As ULong
Visual C++
public:
static unsigned long long RotateLeft(
	unsigned long long value, 
	int shift
)

Parameters

value
Type: System..::.UInt64
The unsigned long integer to rotate.
shift
Type: System..::.Int32
How many bits to rotate.

Return Value

The rotated unsigned long integer.

Remarks

If the shift value is negative, the result is functionally equivalent to a RotateRight() operation.

See Also