bytes / org.apache.tuweni.bytes / Bytes / commonPrefixLength

commonPrefixLength

open fun commonPrefixLength(other: Bytes): Int (source)

Return the number of bytes in common between this set of bytes and another.

Parameters

other - The bytes to compare to.

Return
The number of common bytes.