node:buffer

Node's Buffer module, with zero-filled allocUnsafe.

Buffer is a global and the same object as the Buffer export of node:buffer.

Differences from Node

  • Buffer.allocUnsafe and Buffer.allocUnsafeSlow return zero-filled memory.