Is it possible to do this?
I have an array containing Nvl
HDF5-variable-length-arrays already written to a hdf5 file. I can read in the entire data by (the following snippet is in c++, but answers using the C version of hdf5 API are equally welcome)
hvl_t vl[Nvl];
dset.read(vl, VarLenType(&PredType:NATIVE_INT));
However, if I only want to read the length of each variable-length object, i.e., vl[i].len
(for i=0
to Nvl-1
), how can I do it without reading in the data vl[].p
as well?