Hello,
I am currently doing a very small test to retreive the size of a just
created HDF5 file using the function
H5Fget_filesize
<http://www.hdfgroup.org/HDF5/doc/RM/RM_H5F.html#File-GetFilesize> and
cannot understand why the size returned is actually different from the
real one.
Here is the simple example piece of code:
hsize_t size;
hid_t file_id = H5Fcreate("file.hdf5", H5F_ACC_TRUNC, H5P_DEFAULT,
H5P_DEFAULT);
H5Fget_filesize( file_id, &size );
The real size of the file appears to be 800 bytes, while the size
returned fromH5Fget_filesizeis 2144 bytes.
I would like to use the function H5Fget_vfd_handle to get a (char*)
buffer copy of the file. Can someone help me to do that correctly ?
Many thanks,
Daniel Sentenac
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org