File.create

File create(string filename, FileCreateMode mode = FileCreateMode.truncate, hid_t fcpl = H5P_DEFAULT, hid_t fapl = H5P_DEFAULT)

Creates a new HDF5 file.

Parameters

filenamePath to the file to create
modeCreation mode (exclusive or truncate)
fcplFile creation property list (default: H5P_DEFAULT)
faplFile access property list (default: H5P_DEFAULT)

Returns

A new File instance

Throws

HDF5Exception if file creation fails