Attribute.write

void write(const void * buffer, hid_t memTypeId)

Writes data to the attribute.

Parameters

bufferBuffer containing the data to write
memTypeIdMemory datatype identifier

Throws

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

Writes data from a D array to the attribute.

Parameters

dataArray containing the data to write
memTypeIdMemory datatype identifier

Throws

HDF5Exception if write fails