GDAL
GDALMDArrayRawBlockInfo Struct Reference

Information on a raw block of a GDALMDArray. More...

#include <gdal.h>

Public Attributes

char * pszFilename
 Filename into which the raw block is found.
uint64_t nOffset
 File offset within pszFilename of the start of the raw block.
uint64_t nSize
 Size in bytes of the raw block.
char ** papszInfo
 NULL or Null-terminated list of driver specific information on the raw block.
GBytepabyInlineData
 In-memory buffer of nSize bytes.

Detailed Description

Information on a raw block of a GDALMDArray.

Since
3.12

Member Data Documentation

◆ pabyInlineData

GByte* GDALMDArrayRawBlockInfo::pabyInlineData

In-memory buffer of nSize bytes.

When this is set, pszFilename and nOffset are set to NULL.

When using C++ copy constructor or copy-assignment operator, if a memory allocation fails, a CPLError() will be emitted and this field will be NULL, but nSize not zero.


The documentation for this struct was generated from the following file: