H5Dget_chunk_info

fnherr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t * offset, uint * filter_mask, haddr_t * addr, hsize_t * size)

Retrieves information about a chunk by its index.

Parameters

dset_idDataset identifier
fspace_idFile dataspace identifier, or H5S_ALL for entire dataset
chk_idxIndex of the chunk (0-based)
offsetArray to receive the logical position of the chunk
filter_maskPointer to receive the filter mask
addrPointer to receive the chunk address in the file
sizePointer to receive the chunk size in bytes

Returns

Non-negative on success, negative on failure.