4 topics in this chapter
What a Node.js Buffer is, how it stores bytes, how encodings turn bytes into text, and where Buffer fits with TypedArray memory.
37 min read
How Buffer.alloc, Buffer.allocUnsafe, Buffer.from, slab pooling, and large Buffer allocation affect memory safety and performance in Node.js.
46 min read
How to work with Node.js Buffers through encoding, decoding, slice, subarray, copy, concat, comparison, and zero-copy binary-data patterns.
51 min read
How Buffer allocation can fragment external memory, pin large backing stores, interact with V8 accounting, and create performance problems in Node.js.
25 min read