Skip to main content

nw

Member since Apr 18, 2015

Recent Blog Comments By nw

  • Turning Buffers Into Readable Streams In Node.js

    Posted on Apr 18, 2015 at 9:02 PM

    Nice Example! A couple of minor fixes. 1. You mentioned your concern for memory... On line #33 you should bind your 'end' callback to the scope of your BufferStream instance. this.on( "end", this._destroy.bind(this) ); 2. Line #99 when setting the headers has a typo, 'Contente-Length'... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel