Understanding Buffer and Binary Data in Node.js
Node.js

Understanding Buffer and Binary Data in Node.js

Buffers tripped me up for a while. They're how Node handles raw binary data outside the V8 heap, and once you actually understand what's happening with Buffer.from() and friends, a lot of Node's I/O behavior starts to make sense. Here's what I wish someone had told me earlier.

12 min read 4,073 views
#buffer #binary-data #streams #file-io
Continue Reading →