Dataset.readChunk

void readChunk(const hsize_t[] offset, void * buffer, uint * filters = null, hid_t dxpl = H5P_DEFAULT)

Reads a chunk directly from the file without decompression.

This is useful for copying compressed data or implementing custom I/O pipelines.

Parameters

offsetArray of chunk coordinates
bufferBuffer to receive the raw chunk data
filtersPointer to receive the filter mask (optional)
dxplData transfer property list (default: H5P_DEFAULT)

Throws

HDF5Exception if reading the chunk fails