Dataset.read

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

Reads data from the dataset.

Parameters

bufferBuffer to receive the data
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 read fails
void read(T)(T[] data, hid_t memTypeId)

Reads data from the dataset into a D array.

Parameters

dataArray to receive the data
memTypeIdMemory datatype identifier

Throws

HDF5Exception if read fails