Use #fileStreamDo: or #fileStreamWritable:do:

Lukas

On 12 November 2011 13:19, Johannes Rasche <[email protected]> wrote:
> Hi Sean,
>
> thanks for your effort and advice,
>
> but it didn't resolve my problem:
> try to open an image file with "PNGReadWriter on: xxx.png"
>
> Lukas wrote:
> "In Colin's code you had to use the third supported stream type: not
> #readStream and not #writeStream (that are minimal ANSI compatible streams),
> but a third kind that I forgot the name of (it would return a
> RBBinaryReadWriteStream that works with most existing code). "
>
> Johannes
>
> Am 11.11.11 16:55, schrieb Sean P. DeNigris:
>>
>> Johannes Rasche wrote:
>>>
>>> as FS appeared, I had the impression, that this would be the long
>>> awaited replacement of FileDirectory,
>>>
>>> but it doesn't seem so, because it's not part of the official Pharo up
>>> to now (1.3),
>>>
>> I couldn't wait, so I loaded it in my 1.3-rc image and have been happily
>> using it problem free for 1.5 weeks...
>>
>>        Gofer new
>>                squeaksource: 'fs';
>>                package: 'ConfigurationOfFilesystem';
>>                load.
>>        (Smalltalk at: #ConfigurationOfFilesystem) load.
>>
>> Since Pharo's FS fork is being worked on in 1.4, I may have to port my
>> code
>> slightly for 1.4, but I couldn't go on any longer with FileDirectory, it
>> hurt too much ;-)
>>
>> --
>> View this message in context:
>> http://forum.world.st/FS-and-binary-files-tp4019963p4031734.html
>> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>>
>
>
>



-- 
Lukas Renggli
www.lukas-renggli.ch

Reply via email to