[squeak-dev] ByteArray>>at:put:

Bob Arning arning315 at comcast.net
Thu Apr 26 12:57:10 UTC 2018


it works in 5.1


On 4/26/18 8:41 AM, Levente Uzonyi wrote:
> When was the last time this worked?
>
> Levente
>
> On Thu, 26 Apr 2018, marcel.taeumel wrote:
>
>> Hi, there.
>>
>> I cannot put a ByteString into a ByteArray via a WriteStream anymore:
>>
>> | s |
>> s := WriteStream on: ByteArray new.
>> s nextPutAll: 'hello'.
>>
>> You need to do:
>>
>> | s |
>> s := WriteStream on: ByteArray new.
>> s nextPutAll: 'hello' asByteArray.
>>
>> This breaks code.
>>
>> Best,
>> Marcel
>>
>>
>>
>> -- 
>> Sent from: http://forum.world.st/Squeak-Dev-f45488.html
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180426/429c02f0/attachment.html>


More information about the Squeak-dev mailing list