tuweni / org.apache.tuweni.units.bigints / UInt32Value / bitLength

bitLength

open fun bitLength(): Int (source)

Provides the number of bits following and including the highest-order ("leftmost") one-bit

Return
Int: The number of bits following and including the highest-order ("leftmost") one-bit in the binary representation of this value, or zero if all bits are zero.