What's the best way to instantiate a constant ULon...
# announcements
k
What's the best way to instantiate a constant ULong/UInt value that's out of Long/Int range?
String.toULong
?
i
Use unsigned numeric literals, e.g.
0xffff_ffff_ffff_ffffUL
instead of
0x.....L.toULong()
🙂 1
1
k
🤦‍♂️ how did I not know that was a thing. Thank you!
c
Please a link to understand kotlin numeric literals.
k