<div dir="ltr"><div>Hi Marcel,</div><div>I would expect that a RawBitsArray just store the raw bits on the dataStream...</div><div>I would not expect that a low level layer would interpret the contents of raw bits!<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 22 nov. 2022 à 10:58, Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de">marcel.taeumel@hpi.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id="m_-4516535945227496689__MailbirdStyleContent" style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);text-align:left" dir="ltr">Hi all --<div></div><div><br></div><div>Should the following work?</div><div><br></div><div><div><span style="font-size:13.3333px">class := DoubleByteArray.</span></div><div><span style="font-size:13.3333px">size := 10.</span></div><div><span style="font-size:13.3333px">dummy := 123.</span></div><div><span style="font-size:13.3333px"><br></span></div><div><span style="font-size:13.3333px">array := class new: size.</span></div><div><span style="font-size:13.3333px">array  atAllPut: dummy.</span></div><div><span style="font-size:13.3333px"><br></span></div><div><span style="font-size:13.3333px">(DataStream newFileNamed: 'numbers')</span></div><div><span style="font-size:13.3333px"><span style="white-space:pre-wrap"> </span>nextPut: array;</span></div><div><span style="font-size:13.3333px"><span style="white-space:pre-wrap">   </span>close.</span></div><div><span style="font-size:13.3333px"><br></span></div><div><span style="font-size:13.3333px">stream := DataStream fileNamed: 'numbers'. </span></div><div><span style="font-size:13.3333px">load := stream readArray.</span></div><div><span style="font-size:13.3333px">stream close.</span></div><div><span style="font-size:13.3333px">load explore</span></div></div><div><br></div><div>Best,</div><div>Marcel</div></div><br>
</blockquote></div>