Click or drag to resize

BitMath.GetSetBitPositions(UInt64) Method

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

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.244-beta+cf93f5f8aea4b941e9b426fe4e180c2bd85d31a2
Syntax
public static IEnumerable<int> GetSetBitPositions(
	ulong value
)
View Source

Parameters

value  UInt64

Return Value

IEnumerable<Int32>
See Also