From 8bf302d386ff7734c899f44e8eda9c90485974e9 Mon Sep 17 00:00:00 2001 From: Him188 Date: Fri, 14 Feb 2020 13:45:46 +0800 Subject: [PATCH] Annotate readTlvMap with @MiraiInternalIp --- .../commonMain/kotlin/net.mamoe.mirai/utils/io/InputUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/io/InputUtils.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/io/InputUtils.kt index ee7ccc2d4..ea9f51f73 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/io/InputUtils.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/io/InputUtils.kt @@ -81,7 +81,7 @@ inline fun TlvMap.getOrFail(tag: Int, lazyMessage: (tag: Int) -> String): ByteAr return this[tag] ?: error(lazyMessage(tag)) } -@MiraiDebugAPI +@MiraiInternalAPI inline fun Input.readTLVMap(tagSize: Int = 2, suppressDuplication: Boolean = true): TlvMap = readTLVMap(true, tagSize, suppressDuplication) @MiraiDebugAPI