Taal

BitOperations.RotateLeft Methode

Definitie

Overloads

Naam Description
RotateLeft(UInt32, Int32)

Hiermee wordt de opgegeven waarde naar links gedraaid door het opgegeven aantal bits.

RotateLeft(UInt64, Int32)

Hiermee wordt de opgegeven waarde naar links gedraaid door het opgegeven aantal bits.

RotateLeft(UIntPtr, Int32)

Hiermee wordt de opgegeven waarde naar links gedraaid door het opgegeven aantal bits. Vergelijkbaar met het gedrag van de x86-instructieROL.

RotateLeft(UInt32, Int32)

Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs

Belangrijk

Deze API is niet CLS-conform.

Hiermee wordt de opgegeven waarde naar links gedraaid door het opgegeven aantal bits.

public:
 static System::UInt32 RotateLeft(System::UInt32 value, int offset);
[System.CLSCompliant(false)]
public static uint RotateLeft(uint value, int offset);
[<System.CLSCompliant(false)>]
static member RotateLeft : uint32 * int -> uint32
Public Shared Function RotateLeft (value As UInteger, offset As Integer) As UInteger

Parameters

value
UInt32

De waarde die moet worden gedraaid.

offset
Int32

Het aantal bits dat moet worden gedraaid. Elke waarde buiten het bereik [0..31] wordt behandeld als congruent mod 32.

Retouren

De gedraaide waarde.

Kenmerken

Opmerkingen

Deze methode is vergelijkbaar met het gedrag van de x86-instructieROL.

Van toepassing op

RotateLeft(UInt64, Int32)

Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs

Belangrijk

Deze API is niet CLS-conform.

Hiermee wordt de opgegeven waarde naar links gedraaid door het opgegeven aantal bits.

public:
 static System::UInt64 RotateLeft(System::UInt64 value, int offset);
[System.CLSCompliant(false)]
public static ulong RotateLeft(ulong value, int offset);
[<System.CLSCompliant(false)>]
static member RotateLeft : uint64 * int -> uint64
Public Shared Function RotateLeft (value As ULong, offset As Integer) As ULong

Parameters

value
UInt64

De waarde die moet worden gedraaid.

offset
Int32

Het aantal bits dat moet worden gedraaid. Elke waarde buiten het bereik [0..63] wordt behandeld als congruent mod 64.

Retouren

De gedraaide waarde.

Kenmerken

Opmerkingen

Deze methode is vergelijkbaar met het gedrag van de x86-instructieROL.

Van toepassing op

RotateLeft(UIntPtr, Int32)

Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs
Bron:
BitOperations.cs

Belangrijk

Deze API is niet CLS-conform.

Hiermee wordt de opgegeven waarde naar links gedraaid door het opgegeven aantal bits. Vergelijkbaar met het gedrag van de x86-instructieROL.

public:
 static UIntPtr RotateLeft(UIntPtr value, int offset);
[System.CLSCompliant(false)]
public static UIntPtr RotateLeft(UIntPtr value, int offset);
[<System.CLSCompliant(false)>]
static member RotateLeft : unativeint * int -> unativeint
Public Shared Function RotateLeft (value As UIntPtr, offset As Integer) As UIntPtr

Parameters

value
UIntPtr

unativeint

De waarde die moet worden gedraaid.

offset
Int32

Het aantal bits dat moet worden gedraaid. Elke waarde buiten het bereik [0..31] wordt behandeld als congruent mod 32 op een 32-bits proces en elke waarde buiten het bereik [0..63] wordt behandeld als congruent mod 64 op een 64-bits proces.

Retouren

UIntPtr

unativeint

De gedraaide waarde.

Kenmerken

Van toepassing op