I got stuck with it.When i use call    s1[0].a.ToString() ,it returns  "
",the rest of the data wich distinguishes from CharArray is not also
correct.How should i define the datatype of the dataset in another
way?Should i define the datatype only for string data and is it possible?
            H5AttributeId attributeId=null;
            H5DataTypeId dataType = null;
            H5DataSetId dsetId = H5D.open(fileID, "/metadata/songs");
            dt = H5D.getType(dsetId);
            H5D.read(dsetId, dataType, new H5Array<metadata>(s1));



--
View this message in context: 
http://hdf-forum.184993.n3.nabble.com/c-read-different-datatypes-tp4026057p4026071.html
Sent from the hdf-forum mailing list archive at Nabble.com.

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to