mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
Shamrock
: #89
This commit is contained in:
parent
2d57dc021d
commit
5ea260c24b
@ -50,7 +50,7 @@ val ProtoValue.asLong: Long
|
|||||||
get() = (this as ProtoNumber).value.toLong()
|
get() = (this as ProtoNumber).value.toLong()
|
||||||
|
|
||||||
val ProtoValue.asULong: Long
|
val ProtoValue.asULong: Long
|
||||||
get() = (this as ProtoNumber).value.toLong() and 0xFFFFFFFFL
|
get() = (this as ProtoNumber).value.toLong() and Long.MAX_VALUE
|
||||||
|
|
||||||
val ProtoValue.asMap: ProtoMap
|
val ProtoValue.asMap: ProtoMap
|
||||||
get() = (this as ProtoMap)
|
get() = (this as ProtoMap)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user