demo1
const buf1 = Buffer.from([0x24, 0x40, 0x24, 0x40]);
console.log(buf1);
console.log(buf1[0]);
console.log(buf1[1]);
console.log(buf1[2]);
console.log(buf1[3]);
const buf2 = Buffer.from([24, 40, 24, 40]);
console.log(buf2);
console.log(buf2[0]);
标签:24,console,log,nodejs,buffer,buf2,零碎,buf1,const
From: https://www.cnblogs.com/pansidong/p/17481925.html