Get your own website
var buf = Buffer.alloc(15);

buf.fill('a', 5, 10);

console.log(buf);

              
<Buffer 00 00 00 00 00 61 61 61 61 61 00 00 00 00 00>