Re: CPL_LSBSINT64PTR and CPL_LSBUINT64PTR ?

Even Rouault via gdal-dev <[email protected]>
Newsgroups gmane.comp.gis.gdal.devel
Message-ID <[email protected]>
Andrew,
>
> I have the address of a 64bit unsigned integer in little endian order.
> Which macro should I use to put it into a uint64_t variable ?

Something like:

uint64_t x;
memcpy(&x, ptr, sizeof(x));
CPL_LSBPTR64(&x);

Even

-- 
http://www.spatialys.com
My software is free, but my time generally not.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.