H5Sencode2
fn
herr_t H5Sencode2(hid_t obj_id, void * buf, size_t * nalloc, hid_t fapl)Encodes a dataspace into a binary buffer.
Parameters
obj_id | Dataspace identifier |
buf | Buffer to receive encoded data (can be null to query size) |
nalloc | Pointer to buffer size (input/output) |
fapl | File access property list identifier |
Returns
Non-negative on success, negative on failure.