I use

writeStream nextPutAll: readStream contents

but it is quite silly...to convert stream -> string -> stream

On Thu, Mar 29, 2018 at 11:45 AM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
ZnUtils class>>#streamFrom:to: ?

> On 29 Mar 2018, at 11:22, Denis Kudriashov <dionisiydk@gmail.com> wrote:
>
> Hi.
>
> Do we have simple method to write data between streams?
>
> I want something like:
>
> writeStream nextPutAllFrom: readStream
>
> I always used loop for this. But maybe we have something suitable. Otherwise lets introduce it.
>
> Best regards,
> Denis