📌  相关文章
📜  nodejs 从字符串创建缓冲区 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:10.887000             🧑  作者: Mango

代码示例1
// a string
const str = "Hey. this is a string!";

// convert string to Buffer
const buff = Buffer.from(str, "utf-8");

console.log(buff); //