Table.read
void read(hid_t locId, string tableName, size_t recordSize,
const size_t[] fieldOffsets, const size_t[] fieldSizes, void * data)Reads the entire table.
Parameters
locId | Location identifier (file or group handle) |
tableName | Name of the table |
recordSize | Size of each record in bytes |
fieldOffsets | Array of field offsets |
fieldSizes | Array of field sizes |
data | Buffer to receive the data |
Throws
HDF5Exception if read fails
void read(T)(hid_t locId, string tableName, T[] data) if (is(T == struct))Reads the entire table into a D struct array.
Parameters
T | The struct type representing a table record |
locId | Location identifier (file or group handle) |
tableName | Name of the table |
data | Array to receive the records |
Throws
HDF5Exception if read fails