Node.js Buffer.from()

Description

Node.js Buffer.from()


var buf = new Buffer.from('Simply Easy Learning');
var json = buf.toJSON(buf);

console.log(json);/*from ww  w. j av a 2  s  .  c  o  m*/



PreviousNext

Related