tuweni / org.apache.tuweni.bytes / Bytes / commonPrefix

commonPrefix

open fun commonPrefix(other: Bytes!): Bytes! (source)

Return a slice over the common prefix between this set of bytes and another.

Parameters

other - Bytes!: The bytes to compare to.

Return
Bytes!: A slice covering the common prefix.