[squeak-dev] RawBitsArray vs. DataStream
nicolas.cellier.aka.nice at gmail.com
Tue Nov 22 10:55:37 UTC 2022
I would expect that a RawBitsArray just store the raw bits on the
I would not expect that a low level layer would interpret the contents of
Le mar. 22 nov. 2022 à 10:58, Marcel Taeumel <marcel.taeumel at hpi.de> a
> Hi all --
> Should the following work?
> class := DoubleByteArray.
> size := 10.
> dummy := 123.
> array := class new: size.
> array atAllPut: dummy.
> (DataStream newFileNamed: 'numbers')
> nextPut: array;
> stream := DataStream fileNamed: 'numbers'.
> load := stream readArray.
> stream close.
> load explore
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev