...or maybe instead of baking this in to any calls, at least wrap the rest of it. https://gdal.org/api/gdaldataset_cpp.html#classGDALDataset_1a03a02a76682d883b378a2241528775c7 Edit: same for `GDALRasterAdviseRead()`.