ByteArray [un]signed<size>At: selectors

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ByteArray [un]signed<size>At: selectors

Phil
Hi All,

There are a bunch of selectors for converting bytes in ByteArray's into integers that are different in Squeak and GemStone.

[un]signedByteAt: vs [un]signed8At:
[un]signedShortAt: vs [un]signed16At:
<noSqueakEquiv> vs [un]signed24At:
[un]signedLongAt: vs [un]signed32At:
[un]signedLongLongAt: (notYetImplemented) vs [un]signed64At:

...and of course the at:put: versions of these methods as well.

Personally I like the GS naming better.

This is something I'm only running in GS so it's no bother - just thought I'd mention it to the compatibility committee :)

Cheers