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

locIdLocation identifier
nameName of the link
bufSizeSize of the buffer to allocate
laplLink access property list (default: H5P_DEFAULT)

Returns

The link value as a byte array.

Throws

HDF5Exception if getting the value fails.