-
Notifications
You must be signed in to change notification settings - Fork 7.3k
stream/fs: support writing ArrayBuffers #6005
Comments
No one has spoken up wanting this functionality. Since the change is tiny and additive I'm going to punt on getting this in before v0.12 release. If the community speaks out then I'll reconsider. |
is it for fs.write only, or for other methods too? title says it is also for streams... |
The idea is that any input that supports buffers would also support |
if its really that trivial to implement, why not? it will help with some html5 apis in future |
Lack of time / man power. (High quality) patches are welcome. |
+1 This would be immensely helpful for writing huge array buffers into files (something I'm doing in cryptic.io ) I wouldn't mind helping implement this if I get some direction. |
@MarcoPolo If you need technical direction, join #libuv on irc.freenode.org and ping me or Trevor. |
what are the pro/cons of ArrayBuffers vs buffers? |
@dominictarr |
@trevnorris ... was there ever any progress on this? |
@jasnell opened nodejs/node#1826 for the more general issue |
Ok, given that I'll close this issue here as it's extremely unlike to land here. |
Right now not much will happen if an
ArrayBuffer
is passed tofs.write
. Should be trivial to implement, and will make people happy.The text was updated successfully, but these errors were encountered: