UInt64.RotateLeft(UInt64, Int32) Method

Definition

Rotates a value left by a given amount.

public:
 static System::UInt64 RotateLeft(System::UInt64 value, int rotateAmount) = System::Numerics::IBinaryInteger<System::UInt64>::RotateLeft;
public static ulong RotateLeft (ulong value, int rotateAmount);
static member RotateLeft : uint64 * int -> uint64
Public Shared Function RotateLeft (value As ULong, rotateAmount As Integer) As ULong

Parameters

value
UInt64

The value which is rotated left by rotateAmount.

rotateAmount
Int32

The amount by which value is rotated left.

Returns

The result of rotating value left by rotateAmount.

Implements

Applies to