Dataset.writeHyperslab

void writeHyperslab(const 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)

Writes a hyperslab (rectangular subset) to the dataset.

Parameters

bufferBuffer containing the data to write
memTypeIdMemory datatype identifier
startStarting coordinates in the dataset
countNumber of elements to write 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 writing fails