[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] question about ByteStream(Stream)>>#next:
From: |
Robin Redeker |
Subject: |
Re: [Help-smalltalk] question about ByteStream(Stream)>>#next: |
Date: |
Thu, 26 Oct 2006 10:24:23 +0200 |
User-agent: |
Mutt/1.5.11+cvs20060403 |
On Wed, Oct 25, 2006 at 04:44:26PM -0500, Stephen Compall wrote:
> Robin Redeker wrote:
> > Hi,
> >
> > i'm currently running this expression and wonder why i got a backtrace:
> >
> > st> ((ByteStream on: 'foobar') next: 3)!
[.snip.]
> In other words, if you really must use a ByteStream, do ByteStream on:
> 'foobar' asByteArray. Otherwise, see ReadWriteStream, ByteStream's
> superclass, for an alternative.
Oh, ok, i guess i only need the functionality of ReadWriteStream, thanks
for the explanation!
cu,
Robin