BitMathGetSetBitPositions(UInt32) Method

Returns the bit position for every bit that is set in the provided value. Bit positions are defined as 0-31;

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.166 -- Release Build+d3cb24a90fe44346300dfbb17444d7b350f42d79
public static IEnumerable<int> GetSetBitPositions(
	uint value
)

Parameters

value  UInt32
Target value for bit check enumeration.

Return Value

IEnumerableInt32
Enumeration of all set bit positions.

See Also