From 1b806c1f6b7fe95edb363f5846d37ad2d862fb61 Mon Sep 17 00:00:00 2001 From: iyhkhtrk <104120418+iyhkhtrk@users.noreply.github.com> Date: Wed, 30 Nov 2022 14:05:22 +0800 Subject: [PATCH] Update JsExtensions.kt --- app/src/main/java/io/legado/app/help/JsExtensions.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/help/JsExtensions.kt b/app/src/main/java/io/legado/app/help/JsExtensions.kt index fed7a88fd..d1e6460bf 100644 --- a/app/src/main/java/io/legado/app/help/JsExtensions.kt +++ b/app/src/main/java/io/legado/app/help/JsExtensions.kt @@ -375,12 +375,12 @@ interface JsExtensions : JsEncodeUtils { } /* hexString 解码为utf8String*/ - fun hexDecode(hex: String): String? { + fun hexDecodeToString(hex: String): String? { return HexUtil.decodeHexStr(hex) } /* utf8 编码为hexString */ - fun hexEncode(utf8: String): String? { + fun hexEncodeToString(utf8: String): String? { return HexUtil.encodeHexStr(utf8) }