Based on the example given here, I have a file image loaded into memory as a string with a valid handler. This was done using H5LTopen_file_image()
.
How can I check that a file is a valid HDF5 file?
I found only a program called H5check
, which has a complicated source code. So, I'm wondering, is there a simple function with a simple return value to verify that whatever in the hid_t
handler is a valid HDF5 file?