Node.js card reviewmedium

What is a Buffer in Node.js?

A Buffer is a Node.js object used to handle binary data directly in memory. It is commonly used when working with files, streams, network packets, and cryptographic operations. Buffers allow Node.js to process data that cannot be represented as normal JavaScript strings.

JB

Jeevan Bhargav

Audited by Creator

This answer is calibrated for technical interviews. Verify benchmarks in local sandboxes before deploying.