To improve performance use [`Buffer.allocUnsafe`](https://nodejs.org/api/buffer.html#buffer_class_method_buffer_allocunsafe_size) instead of `Buffer.alloc`.
To improve performance use
Buffer.allocUnsafeinstead ofBuffer.alloc.