Re:Node Streams: How do they work?
by mjor on Wednesday April 18, 2012 @10:31AM
(#3858089)
Yes, the chunk of memory is managed by node, but each Buffer instance is linked with a slice of the heap through `v8::Object->SetIndexedPropertiesToExternalArrayData()`, the same way a JS `Uint8Array` would.
Here's the relevant link: https://github.com/joyent/node/blob/master/src/node_buffer.c....