H5Tencode
fn
herr_t H5Tencode(hid_t obj_id, void * buf, size_t * nalloc)Encodes a datatype description into a binary buffer.
Parameters
obj_id | Datatype identifier |
buf | Buffer for the encoded datatype, or null to query size |
nalloc | Pointer to buffer size; receives required size on return |
Returns
Non-negative on success, negative on failure.