In Kotlin code I have two UByteArray
objects, and I want to know if they have the same stuff in them:
val a : UByteArray = get()
val b : UByteArray = get()
if (a == b) println("The same stuff")
Is the equality operator sufficient, or do I have to compare the two byte for byte?