allocUnsafeSlow static method

Buffer allocUnsafeSlow(
  1. int size
)

Allocates a new Buffer of size bytes.

The underlying memory for Buffer instances created in this way is not initialized. The contents of the newly created Buffer are unknown and may contain sensitive data. Use Buffer.fill to initialize such Buffer instances to zeroes.

Implementation

external static Buffer allocUnsafeSlow(int size);