在NodeJS 中,使用Buffer将字符串转换为十六进制。 Buffer.from('hello world', 'utf8').toString('hex');. 关于它如何工作的简单示例:
確定! 回上一頁