BitRotator.RotateRight 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| RotateRight(Byte, Int32) |
将无符号字节值的位数向右旋转 |
| RotateRight(Int16, Int32) |
将有符号短值的位向右旋转 |
| RotateRight(Int32, Int32) |
将有符号整数值的位数向右旋转 |
| RotateRight(Int64, Int32) |
将有符号长整型值的位向右旋转 |
| RotateRight(SByte, Int32) |
将有符号字节值的位数向右旋转 |
| RotateRight(UInt16, Int32) |
将无符号短值的位向右旋转 |
| RotateRight(UInt32, Int32) |
将无符号整数值的位向右旋转 |
| RotateRight(UInt64, Int32) |
将无符号长整型值的位向右旋转 |
RotateRight(Byte, Int32)
将无符号字节值的位数向右旋转
public:
static System::Byte RotateRight(System::Byte value, int count);
public:
static byte RotateRight(byte value, int count);
static byte RotateRight(byte value, int count);
public static byte RotateRight (byte value, int count);
static member RotateRight : byte * int -> byte
Public Shared Function RotateRight (value As Byte, count As Integer) As Byte
参数
- value
- Byte
要旋转的值
- count
- Int32
要旋转的位置数
返回
旋转值
适用于
RotateRight(Int16, Int32)
将有符号短值的位向右旋转
public:
static short RotateRight(short value, int count);
public:
static short RotateRight(short value, int count);
static short RotateRight(short value, int count);
public static short RotateRight (short value, int count);
static member RotateRight : int16 * int -> int16
Public Shared Function RotateRight (value As Short, count As Integer) As Short
参数
- value
- Int16
要旋转的值
- count
- Int32
要旋转的位置数
返回
旋转值
适用于
RotateRight(Int32, Int32)
将有符号整数值的位数向右旋转
public:
static int RotateRight(int value, int count);
public:
static int RotateRight(int value, int count);
static int RotateRight(int value, int count);
public static int RotateRight (int value, int count);
static member RotateRight : int * int -> int
Public Shared Function RotateRight (value As Integer, count As Integer) As Integer
参数
- value
- Int32
要旋转的值
- count
- Int32
要旋转的位置数
返回
旋转值
适用于
RotateRight(Int64, Int32)
将有符号长整型值的位向右旋转
public:
static long RotateRight(long value, int count);
public:
static long long RotateRight(long long value, int count);
static long RotateRight(long value, int count);
public static long RotateRight (long value, int count);
static member RotateRight : int64 * int -> int64
Public Shared Function RotateRight (value As Long, count As Integer) As Long
参数
- value
- Int64
要旋转的值
- count
- Int32
要旋转的位置数
返回
旋转值
适用于
RotateRight(SByte, Int32)
将有符号字节值的位数向右旋转
public:
static System::SByte RotateRight(System::SByte value, int count);
public:
static SByte RotateRight(SByte value, int count);
static SByte RotateRight(SByte value, int count);
public static sbyte RotateRight (sbyte value, int count);
static member RotateRight : sbyte * int -> sbyte
Public Shared Function RotateRight (value As SByte, count As Integer) As SByte
参数
- value
- SByte
要旋转的值
- count
- Int32
要旋转的位置数
返回
旋转值
适用于
RotateRight(UInt16, Int32)
将无符号短值的位向右旋转
public:
static System::UInt16 RotateRight(System::UInt16 value, int count);
public:
static unsigned short RotateRight(unsigned short value, int count);
static unsigned short RotateRight(unsigned short value, int count);
public static ushort RotateRight (ushort value, int count);
static member RotateRight : uint16 * int -> uint16
Public Shared Function RotateRight (value As UShort, count As Integer) As UShort
参数
- value
- UInt16
要旋转的值
- count
- Int32
要旋转的位置数
返回
旋转值
适用于
RotateRight(UInt32, Int32)
将无符号整数值的位向右旋转
public:
static System::UInt32 RotateRight(System::UInt32 value, int count);
public:
static unsigned int RotateRight(unsigned int value, int count);
static unsigned int RotateRight(unsigned int value, int count);
public static uint RotateRight (uint value, int count);
static member RotateRight : uint32 * int -> uint32
Public Shared Function RotateRight (value As UInteger, count As Integer) As UInteger
参数
- value
- UInt32
要旋转的值
- count
- Int32
要旋转的位置数
返回
旋转值
适用于
RotateRight(UInt64, Int32)
将无符号长整型值的位向右旋转
public:
static System::UInt64 RotateRight(System::UInt64 value, int count);
public:
static unsigned long long RotateRight(unsigned long long value, int count);
static unsigned long RotateRight(unsigned long value, int count);
public static ulong RotateRight (ulong value, int count);
static member RotateRight : uint64 * int -> uint64
Public Shared Function RotateRight (value As ULong, count As Integer) As ULong
参数
- value
- UInt64
要旋转的值
- count
- Int32
要旋转的位置数
返回
旋转值