Node.js 拆分 Buffer Node.js 拷贝 Buffer ES6 Number.isNaN() Node.js 拆分 Buffer var buffer1 = new Buffer('CodingDict'); //slicing a buffer var buffer2 = buffer1.slice(0,5); console.log("buffer2 content: " + buffer2.toString()); Node.js 拷贝 Buffer ES6 Number.isNaN()