Drivers work with VSILFILE objects.
Sometimes these are real files but as I understand it,
sometimes these are actually blocks of memory behind a file interface.

Is the reverse possible, ie can I mmap a VSILFILE and then
read it as if it were a block of memory ?
This would be for read-only drivers.

There will inevitably be endian issues, but I have come across
several file formats that look to me to be designed to be read
this way, especially the header structures.

Thanks,

--
Andrew C. Aitchison                      Kendal, UK
                   and...@aitchison.me.uk
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to