Hi

I'm checking some of the mooc code in Pharo 70.

The Pharo 50/60 version is

PNGReadWriter createAFormFrom: 'Sprites.png' asFileReference
binaryReadStream upToEnd

I came up with

PNGReadWriter formFromStream: (File named: 'Sprites.png') readStream

And we can also have

PNGReadWriter formFromStream: 'Sprites.png' asFileReference binaryReadStream

I will add this in the comment of the formFromStream: method.

Stef

Reply via email to