H5Sencode1

fnherr_t H5Sencode1(hid_t obj_id, void * buf, size_t * nalloc)

Encodes a dataspace (version 1, deprecated).

Parameters

obj_idDataspace identifier
bufBuffer to receive encoded data (can be null to query size)
nallocPointer to buffer size (input/output)

Returns

Non-negative on success, negative on failure.