H5Dget_chunk_info
fn
herr_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_id | Dataset identifier |
fspace_id | File dataspace identifier, or H5S_ALL for entire dataset |
chk_idx | Index of the chunk (0-based) |
offset | Array to receive the logical position of the chunk |
filter_mask | Pointer to receive the filter mask |
addr | Pointer to receive the chunk address in the file |
size | Pointer to receive the chunk size in bytes |
Returns
Non-negative on success, negative on failure.