Re: CPL_LSBSINT64PTR and CPL_LSBUINT64PTR ?
Andrew C Aitchison via gdal-dev <[email protected]>
| Newsgroups | gmane.comp.gis.gdal.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 10 Mar 2026, Even Rouault wrote:
> 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);
Thanks.
--
Andrew C. Aitchison Kendal, UK
[email protected]