[squeak-dev] Integer, ByteArray, and Endianness

Vanessa Freudenberg vanessa at codefrau.net
Tue May 19 22:51:30 UTC 2020


On Tue, May 19, 2020 at 3:46 PM Eric Gade <eric.gade at gmail.com> wrote:

> Hi all,
>
> I am working on a bytecode-level project and came across ByteArray >>
> #asInteger, whose comment indicates that it will use the big-endian format.
> Is it the case the multibyte Integers (or other values?) are big-endian in
> Squeak? If so, what strategies do people use when trying to reconstruct
> byte-level structures?
>
> Thanks!
>

Check out the "platform independent access" protocol of ByteArray.

- Vanessa -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200519/cb0d4651/attachment.html>


More information about the Squeak-dev mailing list