Dataset.writeChunk

void writeChunk(const hsize_t[] offset, const void * buffer, size_t dataSize, uint filters = 0, hid_t dxpl = H5P_DEFAULT)

Writes a chunk directly to the file without compression.

This is useful for writing pre-compressed data or implementing custom I/O pipelines.

Parameters

offsetArray of chunk coordinates
bufferBuffer containing the raw chunk data
dataSizeSize of the data in bytes
filtersFilter mask (0 = apply all filters, or bitmask to skip)
dxplData transfer property list (default: H5P_DEFAULT)

Throws

HDF5Exception if writing the chunk fails