Last modified: 28 September 2012
Name: H5Pdecode

Signature:
  hid_t `H5Pdecode`( void *`buf` )

Purpose:
  Decodes property list received in a binary object buffer and returns a new property list identifier.

Description:
  Given an binary property list description in a buffer, `H5Pdecode` reconstructs the HDF5 property list and returns an identifier for the new property list. The binary description of the property list is encoded by `H5Pencode`.

  Note that some properties cannot be encoded and therefore will not be available in the decoded property list. These properties are discussed in `H5Pencode`.

  The user is responsible for passing in the correct buffer.

  The property list identifier returned by this function should be released with `H5Pclose` when the identifier is no longer needed so that resource leaks will not develop.

Parameters:

  void *`buf` | IN: Buffer holding the encoded property list

Returns:
  Returns an object identifier (non-negative) if successful; otherwise returns a negative value.

Fortran90 Interface:
  None.

See Also:

  `H5Pencode``` |

History:

Release | Change
1.10.0 | Function introduced in this release.