Is there no nicer way to compare a byte array valu...
# announcements
d
Is there no nicer way to compare a byte array value than this?
h
because doing math in kotlin gets tedious due to casting between number types, i prefer to create extensions in many of my scripts, e.g.
Copy code
val Number.i get() = this.toInt()
val Number.b get() = this.toByte()
etc