hi Quincey, We have looked into the core driver, my question was, what are the API calls to make in order to initialize it with the raw hdf5 data from memory.
We just want a small snippet of code to show us how to do this....... any language would do thank you, rosen, 2010/7/6 Quincey Koziol <[email protected]>: > Hi Rosen, > > On Jul 2, 2010, at 7:51 PM, Rosen Diankov wrote: > >> Hi all, >> >> Please show us a C/C++ code example that initializes HDF5 objects from >> in-memory data without using/opening any files. >> >> Our applications needs to be run very fast and we cannot afford the >> transfer to file just so hdf5 can process it. > > You probably want to look into the "core" file driver: > H5Pset_fapl_core(). > > Quincey > >> Basically we want to do: >> >> void* buffer; >> int buffer_size >> // initialize buffer >> file = H5Fcreate(...) >> H5F_write_binary_data_to_file(file,buffer,buffer_size) >> >> // read the contents >> dataset = H5Dopen(file, DATASETNAME); >> ... >> >> >> thank you, >> rosen, >> >> _______________________________________________ >> Hdf-forum is for HDF software users discussion. >> [email protected] >> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org > > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org > _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
