Get your own website
var x = Buffer.from('abcdef');
var y = x.slice(2,5);

console.log(y.toString());

              

cde