Create bitmask with specified position and size; e.g., MakeBitMask(3, 2) returns 0x18

Declaration Syntax
public static ulong MakeBitMask(
int offset,
int length
)

Parameters
- offset (Int32)
- Offset of least-significant bit in mask
- length (Int32)
- Number of bits in mask

Return Value
Bitmask with 1's in specified positions
Assembly:
MercuryAPI (Module: MercuryAPI) Version: 1.29.4.34 (1.29.4.34)