<div dir="ltr"><div><div><div><div><div>Hi,<br></div>as the title tells, <br><br>DataStream&gt;&gt;writeInteger: anInteger<br>    &quot;PRIVATE -- Write the contents of a SmallInteger.&quot;<br><br>    byteStream nextInt32Put: anInteger    &quot;signed!!!!!&quot;<br><br></div>Which strategy do we adopt?<br></div>I suggest using a fake LargeInteger...<br><br>    objectToStore := (self objectIfBlocked: anObject) objectForDataStream: self.<br>    objectToStore == anObject ifFalse: [typeID := self typeIDFor: objectToStore].<br><br></div>Of course, we must also care of LargeInteger materialization in 64bits spur.<br></div><div>I&#39;m going to fix it unless someone has a better idea.<br></div><div><br></div>Nicolas<br></div>