H5Tconvert

fnherr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void * buf, void * background, hid_t plist_id)

Converts data from one datatype to another.

Parameters

src_idSource datatype identifier
dst_idDestination datatype identifier
nelmtsNumber of elements to convert
bufBuffer containing data to convert (modified in place)
backgroundBackground buffer, or null
plist_idDataset transfer property list identifier, or H5P_DEFAULT

Returns

Non-negative on success, negative on failure.