[squeak-dev] RawBitsArray vs. DataStream
Marcel Taeumel
marcel.taeumel at hpi.de
Tue Nov 22 09:58:09 UTC 2022
Hi all --
Should the following work?
class := DoubleByteArray.
size := 10.
dummy := 123.
array := class new: size.
array atAllPut: dummy.
(DataStream newFileNamed: 'numbers')
nextPut: array;
close.
stream := DataStream fileNamed: 'numbers'.
load := stream readArray.
stream close.
load explore
Best,
Marcel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20221122/dd14b405/attachment.html>
More information about the Squeak-dev
mailing list
|