Update JsExtensions.kt
This commit is contained in:
1 parent
b5eb7d7a03
commit
946edd8417
1 file changed
+2
-2
@@ -375,12 +375,12 @@ interface JsExtensions : JsEncodeUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* hexString 解码为utf8String*/
|
/* hexString 解码为utf8String*/
|
||||||
fun hexDecode(hex: String): String? {
|
fun hexDecodeToString(hex: String): String? {
|
||||||
return HexUtil.decodeHexStr(hex)
|
return HexUtil.decodeHexStr(hex)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* utf8 编码为hexString */
|
/* utf8 编码为hexString */
|
||||||
fun hexEncode(utf8: String): String? {
|
fun hexEncodeToString(utf8: String): String? {
|
||||||
return HexUtil.encodeHexStr(utf8)
|
return HexUtil.encodeHexStr(utf8)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user