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 <[email protected]>
wrote:

> ZnUtils class>>#streamFrom:to: ?
>
> > On 29 Mar 2018, at 11:22, Denis Kudriashov <[email protected]> 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
>
>
>

Reply via email to