Re: [Pharo-project] A possible bug in GZip streams
Dec. 5, 2011
5:22 a.m.
(I am working on Pharo 1.3) On Mon, Dec 5, 2011 at 2:16 AM, Martin Dias <tinchodias@gmail.com> wrote:
Hi,
I get a SubscriptOutOfBounds error when I evaluate:
| aStream zipStream |
aStream := ByteArray new writeStream binary. zipStream := GZipWriteStream on: aStream. zipStream nextStringPut: ''. zipStream nextStringPut: ''. zipStream close. aStream close. aStream := aStream contents readStream binary. zipStream := GZipReadStream on: aStream. zipStream nextString. zipStream nextString. zipStream close. aStream close.
The error doesn't happen when I put just one string (instead of two).
Do you see something wrong in the code? Should I report a bug?
Thanks, MartÃn
5352
Age (days ago)
5352
Last active (days ago)
0 comments
1 participants
participants (1)
-
Martin Dias