Link.getValue
ubyte[] getValue(hid_t locId, string name, size_t bufSize,
hid_t lapl = H5P_DEFAULT)Gets the value of a soft or external link.
For soft links, the value is the target path. For external links, use H5Lunpack_elink_val to extract the file name and object path.
Parameters
locId | Location identifier |
name | Name of the link |
bufSize | Size of the buffer to allocate |
lapl | Link access property list (default: H5P_DEFAULT) |
Returns
The link value as a byte array.
Throws
HDF5Exception if getting the value fails.