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

locIdLocation identifier (file or group handle)
tableNameName of the table
recordSizeSize of each record in bytes
fieldOffsetsArray of field offsets
fieldSizesArray of field sizes
dataBuffer 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

TThe struct type representing a table record
locIdLocation identifier (file or group handle)
tableNameName of the table
dataArray to receive the records

Throws

HDF5Exception if read fails