update comment
This commit is contained in:
parent
456faf0575
commit
b43b3840ab
@ -449,6 +449,7 @@ object RmiUtils {
|
|||||||
|
|
||||||
@Suppress("EXPERIMENTAL_API_USAGE")
|
@Suppress("EXPERIMENTAL_API_USAGE")
|
||||||
fun unpackUnsignedRight(packedInt: Int): Int {
|
fun unpackUnsignedRight(packedInt: Int): Int {
|
||||||
|
// this just does a .toUShort().toInt() conversion. This is cleaner than doing it manually
|
||||||
return packedInt.toUShort().toInt()
|
return packedInt.toUShort().toInt()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user