Buffer.byteLength instead of new Buffer