Replace this text with the Fortran function signature
hid tloc id
IN: Location identifier
const void *buf
IN: Buffer for the reference to be decoded
size t *nbytes
IN: The size of the buffer to decode
OUT: The number of bytes decoded
href t *ref ptr
OUT: Pointer to decoded reference
Given a marshalled reference representation in a buffer, H5R_DECODE reconstructs the HDF5 reference and returns a new reference handle for it. The marshalled representation is created by H5R_ENCODE. The user is responsible for passing in the right buffer of the appropriate nbytes size.
The reference returned by this function can be released with H5R_CLOSE when it is no longer needed so that resource leaks will not develop.
Returns a non-negative value if successful; otherwise returns a negative value.