var len = Buffer.byteLength('abc')
console.log(len);

              
3