getHDF5Type
private fn
hid_t getHDF5Type(T)()Gets the HDF5 datatype for a D type.
For native types (int, double, etc.), returns the pre-defined HDF5 native type. For string types (char[N]), creates a new fixed-length string type that must be closed with H5Tclose after use. For variable-length strings (string), creates a variable-length string type. For binary arrays (ubyte[N]), creates an array type.
Returns
The HDF5 datatype identifier, or -1 if creation fails for created types.