H5DOread_chunk

fnherr_t H5DOread_chunk(hid_t dset_id, hid_t dxpl_id, const hsize_t * offset, uint * filters, void * buf)

Reads a raw data chunk directly from a dataset.

This function reads a chunk of raw data directly from storage, bypassing the filter pipeline. The data is returned in its stored form (e.g., compressed if compression was applied during write).

Parameters

dset_idDataset identifier (must be chunked)
dxpl_idDataset transfer property list identifier
offsetLogical position of the chunk within the dataset
filtersPointer to receive the filter mask (which filters were applied)
bufBuffer to receive the chunk data

Returns

Non-negative on success, negative on failure.

Note

This is a compatibility wrapper. For HDF5 1.10.3+, use H5Dread_chunk directly.