TNativeUIntHelper.SetBitsCount¶
Count number of bits set.
Declaration¶
Source position: syshelph.inc line 1562
public
function TNativeUIntHelper.SetBitsCount : Byte;
Description¶
SetBitsCount returns the number of bits set in a NativeUInt.
See also¶
| Name | Description |
|---|---|
| System.PopCnt | Count number of set bits. |
| TNativeUIntHelper.SetBit | Set bit to 1. |
| TNativeUIntHelper.ClearBit | Set bit to 0. |
| TNativeUIntHelper.ToggleBit | Invert bit. |
| TNativeUIntHelper.TestBit | Check bit. |
| TNativeUIntHelper.HighestSetBitPos | Return the position of the leftmost bit set. |
| TNativeUIntHelper.LowestSetBitPos | Return the position of the rightmost bit set. |
| TNativeUIntHelper.Bits | Read or write a bit. |