From f13d1e063d3c06e1c792a1b5d3ad950566123a2d Mon Sep 17 00:00:00 2001 From: Him188 Date: Sun, 15 Dec 2019 15:23:08 +0800 Subject: [PATCH] Remove unexpected main function --- .../kotlin/net/mamoe/mirai/MiraiEnvironmentJvm.kt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/MiraiEnvironmentJvm.kt b/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/MiraiEnvironmentJvm.kt index 976404c16..d724db253 100644 --- a/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/MiraiEnvironmentJvm.kt +++ b/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/MiraiEnvironmentJvm.kt @@ -13,15 +13,4 @@ actual object MiraiEnvironment { @JvmStatic actual val platform: Platform get() = Platform.JVM -} - -@ExperimentalUnsignedTypes -fun main() { - println(GroupInternalId(2793514141u).toId().value.toLong()) - println(GroupInternalId(2040208217u).toId().value.toLong()) - println(289942298u.toByteArray().toUHexString()) - println(1040400290u.toByteArray().toUHexString()) - println(buildPacket { - writeStringUtf8("信用卡") - }.readBytes().toUByteArray().toUHexString()) } \ No newline at end of file