reading a structure (eg header info) from file
bearophile
bearophileHUGS at lycos.com
Thu Jul 4 15:05:22 PDT 2013
captaindet:
> as for the
> endianness, as i can oversee it now all potential users will sit
> on little-endian machines. the group of users is small, just our
> workgroup.
If you are able to put a tag in your file that specifies the
endianess, using Phobos it's not hard to convert the data to the
right endianess of the CPU where the D code is running.
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list