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
buffer | Buffer to receive the data |
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 read fails
void read(T)(T[] data, hid_t memTypeId)Reads data from the dataset into a D array.
Parameters
data | Array to receive the data |
memTypeId | Memory datatype identifier |
Throws
HDF5Exception if read fails