[squeak-dev] Questionable comment

Chris Cunningham cunningham.cb at gmail.com
Wed Aug 19 20:06:48 UTC 2015


well, not questionable - bad.

(in ByteArray)

long64At: index
"Answer a 64-bit integer in Smalltalk order (little-endian)."
| n1 n2 |
n1 := self unsignedLongAt: index bigEndian: true.
n2 := self unsignedLongAt: index+4 bigEndian: true.

These are obviously bigEndian now, nto litte-endian.

Does this mean Smalltalk order (or now Squeak order) has changed?

-cbc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150819/da3daed4/attachment.htm


More information about the Squeak-dev mailing list