Class Method: Buffer.alloc(size[, fill[, encoding]])
size <Number>
fill <Value> Default: undefined
encoding <String> Default: utf8
Allocates a new Buffer of size bytes. If fill is undefined, the Buffer will be zero-filled.
const buf = Buffer.alloc(5);
console.log(buf);
// <Buffer 00 00 00 00 00>
The size must be less than or equal to the value of require('buffer').kMaxLength (on 64-bit architectures, kMaxLength is (2^31)-1). Otherwise, a RangeError is thrown.