Returns the amount of storage allocated within the file for a raw data chunk in a dataset


H5D_GET_CHUNK_STORAGE_SIZE ( dataset_id, offset, chunk_nbytes )


<pre><code class="language-c">herr_tH5Dget_chunk_storage_size(
        hid_t dataset_id,
        const hsize_t *offset,
        hsize_t *chunk_nbytes

<pre><code class="language-fortran">Replace this text with the Fortran function signature</code></pre>

hid_t dataset_id    IN: Identifier of the dataset to query
const hsize_t * offset    IN: Logical offset in the dataset for the chunk to query
hsize_t * chunk_nbytes    OUT: The size in bytes for the chunk



H5D_GET_CHUNK_STORAGE_SIZE returns the size in bytes allocated in the file for a raw data chunk as specified by its logical offset in the dataset dataset_id. The size is returned in chunk_nbytes. It is the size of the compressed data if the chunk is filtered and the size may be zero if no storage is allocated yet for the dataset.


Returns a non-negative value if successful; otherwise returns a negative value.


Coming Soon!

Release    Change
1.10.2C function introduced in this release