Node.js Buffer write to buffer

Description

Node.js Buffer write to buffer


var buf = Buffer.alloc(256);
var len = buf.write("www.example.com");
console.log(len);/*w  w w . j  av  a 2  s.c  o m*/



PreviousNext

Related