crummy
05/19/2019, 10:40 PMubyte == 0u
, but I keep having to do ubyte == 0u.toUByte()
. Can I avoid this? I tried this extension function, but it is shadowed by the existing `.equals()`:
fun UByte.equals(uint: UInt): Boolean {
return uint < 0xFFu && this == uint.toUByte()
}