上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 133 下一页
摘要: // console.log(Buffer.from([1,2,3]));//<Buffer 01 02 03>等价于<Buffer Ox01 0x02 ox03>,内容是十六进制的 // console.log(Buffer.from('test'))//<Buffer 74 65 73 74> 阅读全文
posted @ 2023-03-18 10:22 盘思动 阅读(52) 评论(0) 推荐(0)
摘要: 在处理tcp发送数据,接收返回数据的时候遇到的一些问题,需要对数据进制之间转换有敏锐性 阅读全文
posted @ 2023-03-17 14:42 盘思动 阅读(37) 评论(0) 推荐(0)
摘要: 通过this不行 通过 module.exports 来实现 const xml2js = require('xml2js') module.exports = { // 十六进制转10进制; hexadecinal_2_decimal:(hexString) => { //const hexStr 阅读全文
posted @ 2023-03-16 14:50 盘思动 阅读(294) 评论(0) 推荐(0)
摘要: const kaitou = "$@$@"; Buffer.from(kaitou, "utf8").toString("hex"); 给以以上nodejs的逆算法 const hexString = "24402440"; // 十六进制字符串 const buffer = Buffer.from 阅读全文
posted @ 2023-03-16 14:09 盘思动 阅读(398) 评论(0) 推荐(0)
摘要: 安装成功后,需要配置到全局,才可以直接使用pm2命令!! echo $PATH 找到全局环境路径 npm安装的pm2,路径是在nodejs/bin的路径下 截图开始是配置nodejs到全局环境命令的 软链接命令 参考:https://www.likecs.com/show-203632439.htm 阅读全文
posted @ 2023-03-15 09:34 盘思动 阅读(388) 评论(0) 推荐(0)
摘要: ![](https://img2023.cnblogs.com/blog/1202393/202303/1202393-20230314211828688-847804590.png) 阅读全文
posted @ 2023-03-14 21:18 盘思动 阅读(35) 评论(0) 推荐(0)
摘要: ![](https://img2023.cnblogs.com/blog/1202393/202303/1202393-20230314211737297-1581975103.png) 阅读全文
posted @ 2023-03-14 21:17 盘思动 阅读(23) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/veezeng/p/11164066.html https://nodejs.org/dist/ 阅读全文
posted @ 2023-03-14 14:10 盘思动 阅读(19) 评论(0) 推荐(0)
摘要: ![](https://img2023.cnblogs.com/blog/1202393/202303/1202393-20230314105340947-623199400.png) 阅读全文
posted @ 2023-03-14 10:54 盘思动 阅读(42) 评论(0) 推荐(0)
摘要: ![](https://img2023.cnblogs.com/blog/1202393/202303/1202393-20230314105233020-1805931677.png)![](https://img2023.cnblogs.com/blog/1202393/202303/1202393-20230314105254095-1924648282.png) 阅读全文
posted @ 2023-03-14 10:53 盘思动 阅读(27) 评论(0) 推荐(0)
上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 133 下一页