H5DOread_chunk
fn
herr_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_id | Dataset identifier (must be chunked) |
dxpl_id | Dataset transfer property list identifier |
offset | Logical position of the chunk within the dataset |
filters | Pointer to receive the filter mask (which filters were applied) |
buf | Buffer 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.