Commit 42722aa1 authored by Him188's avatar Him188

Make Any.contentToString internal

parent e4e519eb
...@@ -112,7 +112,7 @@ class ProtoMap(map: MutableMap<ProtoFieldId, Any>) : MutableMap<ProtoFieldId, An ...@@ -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 UInt -> "0x" + this.toUHexString("") + "($this)"
is UByte -> "0x" + this.toUHexString() + "($this)" is UByte -> "0x" + this.toUHexString() + "($this)"
is UShort -> "0x" + this.toUHexString("") + "($this)" is UShort -> "0x" + this.toUHexString("") + "($this)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment