Update JsExtensions.kt

This commit is contained in:
iyhkhtrk authored and GitHub committed 2022-11-30 14:05:22 +08:00
1 parent b5eb7d7a03
commit 946edd8417
1 file changed
+2 -2
@@ -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)
}