摘要: 通过this不行 通过 module.exports 来实现 const xml2js = require('xml2js') module.exports = { // 十六进制转10进制; hexadecinal_2_decimal:(hexString) => { //const hexStr 阅读全文
posted @ 2023-03-16 14:50 盘思动 阅读(223) 评论(0) 推荐(0) 编辑
摘要: const kaitou = "$@$@"; Buffer.from(kaitou, "utf8").toString("hex"); 给以以上nodejs的逆算法 const hexString = "24402440"; // 十六进制字符串 const buffer = Buffer.from 阅读全文
posted @ 2023-03-16 14:09 盘思动 阅读(310) 评论(0) 推荐(0) 编辑