H5Dget_chunk_storage_size

fnherr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t * offset, hsize_t * chunk_bytes)

Returns the amount of storage required for a chunk.

Parameters

dset_idDataset identifier
offsetLogical position of the chunk's first element
chunk_bytesPointer to receive the chunk size in bytes

Returns

Non-negative on success, negative on failure.