From d71bac77f972d3aee7b12fa6c9f53ccbd1e6d6b3 Mon Sep 17 00:00:00 2001 From: Him188 Date: Thu, 21 Nov 2019 21:30:20 +0800 Subject: [PATCH] Fix unused param --- .../src/commonMain/kotlin/net.mamoe.mirai/utils/io/DebugUtil.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/io/DebugUtil.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/io/DebugUtil.kt index 105d055b7..3d59f0252 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/io/DebugUtil.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/io/DebugUtil.kt @@ -74,6 +74,7 @@ internal fun BytePacketBuilder.debugColorizedPrintThis(name: String = "", compar @Deprecated("Low efficiency, only for debug purpose", ReplaceWith(" ")) internal fun BytePacketBuilder.debugPrintThis(name: String = "") { val data = this.build().readBytes() + data.printColorizedHex(name) this.writeFully(data) }