I have a dataset region references stored as a variable length data in a
dataset . These dataset region references can belong to different
datsets or same datasets . When I read these dataset region references
these are the steps I do .
1. Dereference the dataset region reference and obtain a dataset hid_t .
2. Get the dataset region.
Since I do not know the type of the data written in the dataset , I try
reading all possible datatype I can store as per my requirements hoping
that the read will succeed for the correct datatype. Now for any type I
use in the H5Dread the result is always a success . Why does the read
not fail for the wrong datatypes ?