Dataset.readHyperslab

void readHyperslab(void * buffer, hid_t memTypeId, const hsize_t[] start, const hsize_t[] count, const hsize_t[] stride = null, const hsize_t[] blockSize = null, hid_t dxpl = H5P_DEFAULT)

Reads a hyperslab (rectangular subset) from the dataset.

Parameters

bufferBuffer to receive the data
memTypeIdMemory datatype identifier
startStarting coordinates in the dataset
countNumber of elements to read in each dimension
strideStride between elements (optional, null for contiguous)
blockSizeSize of each block (optional, null for single elements)
dxplData transfer property list (default: H5P_DEFAULT)

Throws

HDF5Exception if reading fails