Get your own website
var sd = require('string_decoder').StringDecoder;
var d = new sd('utf8');
var b = Buffer('abc');

console.log(b); //write buffer
console.log(d.write(b)); // write decoded buffer

              
<Buffer 61 62 63>
abc