tuweni / org.apache.tuweni.bytes / Bytes / bitLength

bitLength

open fun bitLength(): Int (source)

Provides the number of bits following and including the highest-order ("leftmost") one-bit, or zero if all bits are zero.

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