Table.writeRecords
void writeRecords(hid_t locId, string tableName, hsize_t start,
hsize_t numRecords, size_t recordSize,
const size_t[] fieldOffsets, const size_t[] fieldSizes,
const void * data)Writes records to a specific location in the table.
Parameters
locId | Location identifier (file or group handle) |
tableName | Name of the table |
start | Starting record index |
numRecords | Number of records to write |
recordSize | Size of each record in bytes |
fieldOffsets | Array of field offsets |
fieldSizes | Array of field sizes |
data | Data to write |
Throws
HDF5Exception if write fails
void writeRecords(T)(hid_t locId, string tableName, hsize_t start, const T[] data) if (is(T == struct))Writes records to a specific location in the table using 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 |
start | Starting record index |
data | Array of records to write |
Throws
HDF5Exception if write fails