Rotates the bits of an unsigned short integer.
Namespace: LLCryptoLib.HashAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public static ushort RotateLeft(
ushort x,
int shift
) |
Visual Basic |
---|
Public Shared Function RotateLeft ( _
x As UShort, _
shift As Integer _
) As UShort |
Visual C++ |
---|
public:
static unsigned short RotateLeft(
unsigned short x,
int shift
) |
Parameters
- x
- 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.
See Also