Fix unused param

This commit is contained in:
Him188 2019-11-21 21:30:20 +08:00
parent c32e8f9371
commit d71bac77f9

View File

@ -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)
}