tuweni / 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 - Bytes!: The bytes to compare to.

Return
Int: The number of common bytes.