Feb. 6, 2015
5:56 p.m.
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