equals

open operator override fun equals(other: Any?): Boolean

Custom equals implementation that properly compares ByteArray.

Standard data class equals would not correctly compare the ByteArray field by content, so this override ensures proper content-based comparison using contentEquals().

Return

true if the objects are equal, false otherwise

Parameters

other

The object to compare with