update comment

This commit is contained in:
Robinson 2022-06-11 17:04:21 +02:00
parent 456faf0575
commit b43b3840ab
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C

View File

@ -449,6 +449,7 @@ object RmiUtils {
@Suppress("EXPERIMENTAL_API_USAGE")
fun unpackUnsignedRight(packedInt: Int): Int {
// this just does a .toUShort().toInt() conversion. This is cleaner than doing it manually
return packedInt.toUShort().toInt()
}