Hi,

I am storing 1000's of datasets of different types. In particular two of my types are LONG(any long) and DATETIME(long value representing #nano seconds since UNIX EPOCH). While I experiment LONG uses the H5T_STD_I64BE datatype and currently DATETIME uses H5T_STD_I64LE so I can use the endian flag to distinguish between the two.

Now when this data is read by various systems (in particular Java) and I am looking for an intuitive and efficient way to distinguish between these two datatypes. My current options are:

1. Make DATETIME signed and change EPOCH to 1900 or something.
2. Maked DATATIME little endian, as above.
3. Use a committed datatype.

Have I missed something and is there an alternative way to achieve this?

Thanks,

Matt





_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to