ByteArray wordAt:, byteAt: question...

Dino gte949e at
Tue Apr 13 07:31:26 UTC 1999

Okay, here is something less stupid...  Does

blah wordAt: 3 put: 5.

equal to:

blah byteAt: 3 put: 0.
blah byteAt: 4 put: 5.


It seems like the results are very different...  does wordAt: 3 put a word at
byte index 6?  Is the wordAt: method automatically 2 byte aligned?


-- Dino

More information about the Squeak-dev mailing list