Get bits within an integer; e.g., GetBits(0x1234, 4, 4) returns 0x3

Declaration Syntax

Parameters
- raw (UInt64)
- Integer to extract bits from
- offset (Int32)
- Offset of least-significant bit to modify
- length (Int32)
- Number of bits to modify

Return Value
Extracted bits
Assembly:
MercuryAPI (Module: MercuryAPI) Version: 1.29.4.34 (1.29.4.34)