Table of Contents

Method GetBitsMask

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

GetBitsMask<T>(int, int)

Get bits mask (取得位掩码).

public static T GetBitsMask<T>(int start, int len)

Parameters

start int

Bits start (起始位).

len int

Bits length (位长度).

Returns

T

Returns mask (返回掩码).

Type Parameters

T

Target type (目标类型).