M_Cyjb_Collections_BitList_LeftShift - CYJB/Cyjb GitHub Wiki

BitList.LeftShift 方法

将当前 BitList 中的所有位值左移 offset 位。 这里的左移是向着索引增大的方向移动。

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

语法

C#

public BitList LeftShift(
	int offset
)

参数

 

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

返回值

Type: BitList
当前 BitList 对象。

参见

Reference

BitList 类
Cyjb.Collections 命名空间

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