Update JsExtensions.kt

This commit is contained in:
iyhkhtrk
2022-11-30 14:05:22 +08:00
committed by GitHub
parent a6147c2d80
commit 1b806c1f6b
@@ -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)
}