Judging from the code Aaron linked, neither does v0.8 know how to
convert the object into a buffer. It relies on #toString().
On 02/16/2013 12:45 AM, Nathan Rajlich wrote:
> Aaron, I'm a little confused at exactly what you're trying to do,
> but if you have a Readable stream outputting "objects" of some kind
> (since it's in objectMode), and you pipe() to a writable stream
> that is *not* in objectMode (i.e. it's expecting strings and/or
> buffers), then what would you expect the Writable stream to do? How
> would it know how to convert your Object from the readable stream
> into a Buffer?
>
> On Fri, Feb 15, 2013 at 12:14 PM, Aaron Heckmann
> <
aaron.h...@gmail.com <mailto:
aaron.h...@gmail.com>>
> -- Aaron @aaronheckmann <
https://twitter.com/#!/aaronheckmann>
>
nod...@googlegroups.com <mailto:
nod...@googlegroups.com> To
> <mailto:
nodejs%2Bunsu...@googlegroups.com> For more options,
> <mailto:
nodejs%2Bunsu...@googlegroups.com>. For more options,