Casting byte[] to int/long

Henrik zodiachus at gmail.com
Wed Nov 29 11:03:08 PST 2006


Gregor Richards wrote:
>(Untested) That code will print 10 on a little-endian system, but will
print 0 on a big-endian system.

Shit, you are right. I would have forgotten about it :|
std.system to the rescue!



More information about the Digitalmars-d mailing list