Function Reference: H5T.create

oct-hdf5: type_id H5T.create (class, size)

Create a new datatype of the specified class with the specified number of bytes.

Parameters:

classClass of datatype among 'H5T_COMPOUND', 'H5T_OPAQUE', 'H5T_ENUM', 'H5T_STRING'
sizeSize, in bytes, of the datatype being created

Description:

See original function at https://portal.hdfgroup.org/display/HDF5/H5T_CREATE.

See also: H5T.open, H5T.close

Source Code: H5T.create