>
> I was going to complain about expecting such niceties as a built in
> 2s-complement rather than program it myself (I am a bit rusty on such
> matters), but when I look what should I find?
>
> (-123 asTwosComplement: 16rFFFFFFFF) asByteArray.   "=> #[255 255 255
> 133]"
>
> cheers -ben
>

Hi Ben,

You might want to look at http://www.squeaksource.com/TwosComplement

Dave





Reply via email to