M_Cyjb_Collections_BitList_RightShift - CYJB/Cyjb GitHub Wiki

BitList.RightShift 方法

将当前 BitList 中的所有位值右移 offset 位。 这里的右移是向着索引减小的方向移动。

Namespace: Cyjb.Collections
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6

语法

C#

public BitList RightShift(
	int offset
)

参数

 

offset
Type: System.Int32
要右移的位数,实际的移位数会对 Count 取模。

返回值

Type: BitList
当前 BitList 对象。

参见

Reference

BitList 类
Cyjb.Collections 命名空间

⚠️ **GitHub.com Fallback** ⚠️