Share via


BitOperations.RotateLeft 메서드

정의

오버로드

RotateLeft(UInt32, Int32)

지정된 값을 지정된 비트 수만큼 왼쪽으로 회전합니다.

RotateLeft(UInt64, Int32)

지정된 값을 지정된 비트 수만큼 왼쪽으로 회전합니다.

RotateLeft(UIntPtr, Int32)

지정된 값을 지정된 비트 수만큼 왼쪽으로 회전합니다. x86 명령 ROL과 동작이 유사합니다.

RotateLeft(UInt32, Int32)

Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs

중요

이 API는 CLS 규격이 아닙니다.

지정된 값을 지정된 비트 수만큼 왼쪽으로 회전합니다.

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

매개 변수

value
UInt32

회전할 값입니다.

offset
Int32

회전할 비트 수입니다. [0..31] 범위 밖의 모든 값은 합동 mod 32로 처리됩니다.

반환

순환된 값입니다.

특성

설명

이 메서드는 x86 명령 ROL과 동작에서 비슷합니다.

적용 대상

RotateLeft(UInt64, Int32)

Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs

중요

이 API는 CLS 규격이 아닙니다.

지정된 값을 지정된 비트 수만큼 왼쪽으로 회전합니다.

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

매개 변수

value
UInt64

회전할 값입니다.

offset
Int32

회전할 비트 수입니다. [0..63] 범위 밖의 모든 값은 합동 mod 64로 처리됩니다.

반환

순환된 값입니다.

특성

설명

이 메서드는 x86 명령 ROL과 동작에서 비슷합니다.

적용 대상

RotateLeft(UIntPtr, Int32)

Source:
BitOperations.cs
Source:
BitOperations.cs
Source:
BitOperations.cs

중요

이 API는 CLS 규격이 아닙니다.

지정된 값을 지정된 비트 수만큼 왼쪽으로 회전합니다. x86 명령 ROL과 동작이 유사합니다.

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

매개 변수

value
UIntPtr

unativeint

회전할 값입니다.

offset
Int32

회전할 비트 수입니다. [0..31] 범위를 벗어난 모든 값은 32비트 프로세스에서 동시 모드 32로 처리되고 범위 [0..63]을 벗어난 값은 64비트 프로세스에서 동시 모드 64로 처리됩니다.

반환

UIntPtr

unativeint

순환된 값입니다.

특성

적용 대상