Join Slack
Powered by
Is there no nicer way to compare a byte array valu...
# announcements
d
dharrigan
08/30/2018, 9:08 AM
Is there no nicer way to compare a byte array value than this?
h
Hullaballoonatic
08/30/2018, 9:22 PM
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
5
Views
Open in Slack
Previous
Next