Dataset.write

void write(const void * buffer, hid_t memTypeId, hid_t memSpaceId = H5S_ALL, hid_t fileSpaceId = H5S_ALL, hid_t dxpl = H5P_DEFAULT)

Writes data to the dataset.

Parameters

bufferBuffer containing the data to write
memTypeIdMemory datatype identifier
memSpaceIdMemory dataspace identifier (H5S_ALL for entire dataset)
fileSpaceIdFile dataspace identifier (H5S_ALL for entire dataset)
dxplData transfer property list (default: H5P_DEFAULT)

Throws

HDF5Exception if write fails
void write(T)(const T[] data, hid_t memTypeId)

Writes data from a D array to the dataset.

Parameters

dataArray containing the data to write
memTypeIdMemory datatype identifier

Throws

HDF5Exception if write fails