Page tree

The license could not be verified: License Certificate has expired!

 

JAVA

FORTRAN

C++

C

 

Link

H5R_DECODE

Decodes a reference from a buffer

Procedure:

H5R_DECODE (loc_id, buf, nbytes, ref_ptr)

Signature:

herr_t H5Rdecode ( hid_t loc_id, const void *buf, size_t *nbytes,href_t *ref_ptr )

Replace this text with the Fortran function signature

Parameters:
hid t loc idIN: Location identifier
const void *bufIN: 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 ptrOUT: Pointer to decoded reference

Description:

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:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Coming Soon!

History:
ReleaseChange
1.12.0C function was introduced in this release.

--- Last Modified: August 15, 2019 | 12:07 PM