Endiannes & Splitting Values
Gary Willoughby via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jul 7 03:45:12 PDT 2016
On Thursday, 7 July 2016 at 08:21:53 UTC, Lodovico Giaretta wrote:
> Are you sure that this works in both big-endian and
> little-endian systems?
It shouldn't matter. You're just interested in the high and low 4
byte chunks (which are to be interpreted as an int) which will
return in the relevant endianess of your machine.
More information about the Digitalmars-d-learn
mailing list