Attribute.read

void read(void * buffer, hid_t memTypeId)

Reads data from the attribute.

Parameters

bufferBuffer to receive the data
memTypeIdMemory datatype identifier

Throws

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

Reads data from the attribute into a D array.

Parameters

dataArray to receive the data
memTypeIdMemory datatype identifier

Throws

HDF5Exception if read fails