H5Pencode2

fnherr_t H5Pencode2(hid_t plist_id, void * buf, size_t * nalloc, hid_t fapl_id)

Encodes a property list into a binary buffer (version 2).

Parameters

plist_idProperty list identifier
bufBuffer to receive the encoded property list (can be null to query size)
nallocSize of buffer / receives required size
fapl_idFile access property list identifier

Returns

Non-negative on success, negative on failure.