stream: _write takes an encoding argument
authorisaacs <i@izs.me>
Mon, 4 Mar 2013 03:14:06 +0000 (19:14 -0800)
committerisaacs <i@izs.me>
Tue, 5 Mar 2013 22:27:15 +0000 (14:27 -0800)
commit426b4c625802c7b6913fa09237aa9745bf3ae84a
tree81756bcb6720145decb01160df08b5315784657b
parentcd68d86c3283af2f4b3c349c2081c609e3978b9b
stream: _write takes an encoding argument

This vastly reduces the overhead of decodeStrings:false streams,
such as net and http.
16 files changed:
doc/api/stream.markdown
lib/_stream_passthrough.js
lib/_stream_transform.js
lib/_stream_writable.js
lib/crypto.js
lib/fs.js
lib/net.js
lib/tls.js
lib/zlib.js
test/simple/test-stream2-finish-pipe.js
test/simple/test-stream2-objects.js
test/simple/test-stream2-pipe-error-handling.js
test/simple/test-stream2-push.js
test/simple/test-stream2-stderr-sync.js
test/simple/test-stream2-transform.js
test/simple/test-stream2-writable.js