Buffer is a global and the same object as the Buffer export of node:buffer.
Differences from Node
Buffer.allocUnsafeandBuffer.allocUnsafeSlowreturn zero-filled memory.
Node's Buffer module, with zero-filled allocUnsafe.
Buffer is a global and the same object as the Buffer export of node:buffer.
Buffer.allocUnsafe and Buffer.allocUnsafeSlow return zero-filled memory.