tuweni / org.apache.tuweni.bytes / AbstractBytes / equals

equals

open fun equals(other: Any?): Boolean (source)

Compare this value and the provided one for equality.

Two Bytes values are equal is they have contain the exact same bytes.

Parameters

obj - The object to test for equality with.

Return
Boolean: true if this value and obj are equal.