BitUtils

General bit utilities. * All utility methods are based on 32-bit integers and also work on 64-bit systems.

Members

Static functions

numberOfTrailingZeros
ulong numberOfTrailingZeros(ulong i)

Gets the number of trailing zeros.

unsignedRightShift
ulong unsignedRightShift(ulong a, ulong b)

Performs an unsigned right shift.

Meta