mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-23 18:30:13 +08:00
Make Any.contentToString internal
This commit is contained in:
parent
e4e519eb36
commit
42722aa1cd
@ -112,7 +112,7 @@ class ProtoMap(map: MutableMap<ProtoFieldId, Any>) : MutableMap<ProtoFieldId, An
|
||||
}*/
|
||||
}
|
||||
|
||||
fun Any.contentToString(prefix: String = ""): String = when (this) {
|
||||
internal fun Any.contentToString(prefix: String = ""): String = when (this) {
|
||||
is UInt -> "0x" + this.toUHexString("") + "($this)"
|
||||
is UByte -> "0x" + this.toUHexString() + "($this)"
|
||||
is UShort -> "0x" + this.toUHexString("") + "($this)"
|
||||
|
Loading…
Reference in New Issue
Block a user