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
buffer | Buffer containing the data to write |
memTypeId | Memory datatype identifier |
memSpaceId | Memory dataspace identifier (H5S_ALL for entire dataset) |
fileSpaceId | File dataspace identifier (H5S_ALL for entire dataset) |
dxpl | Data 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
data | Array containing the data to write |
memTypeId | Memory datatype identifier |
Throws
HDF5Exception if write fails