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

bitLength

open fun bitLength(): Int (source)

Returns 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.