Returns the size in bytes of the dataset’s datatype
Procedure:
H5LD_GET_DSET_TYPE_SIZE (dset_id, fields)
Signature:
size_t H5LDget_dset_type_size( hid_t dset_id, char *fields )
Parameters:
hid_t dset_id | IN: The dataset identifier |
char *fields | IN: The pointer to a comma-separated list of fields for a compound datatype |
Description:
H5LD_GET_DSET_TYPE_SIZE allows the user to find out the datatype size for the dataset associated with dset_id. If the parameter fields is NULL, this routine just returns the size of the dataset’s datatype. If the dataset has a compound datatype and fields is non-NULL, this routine returns the size of the datatype(s) for the selected fields specified in fields. Note that ’,’ is the separator for the fields of a compound datatype while ’.’ (dot) is the separator for a nested field. Use a backslash ( \ ) to escape characters in field names that conflict with these two separators.
See Also:
Returns:
If successful, returns the size in bytes of the dataset’s datatype. Otherwise, returns 0.
Example:
History:
Release | Change |
---|
1.10.0 | C function introduced with this release. |
--- Last Modified: August 14, 2019 | 10:52 AM