Q22: What is the Buffer class in Node.js?
The Buffer class provides instances to store raw binary data outside the V8 heap in fixed-length memory allocations.
Key Takeaways
- Buffers store raw binary data in memory.
- Useful when working with file systems or network streams.
Knowledge Check
Where is memory allocated for Buffer instances in Node.js?