mokus0 / hs-hdf5

Low-level typesafe HDF5 bindings
28 stars 18 forks source link

Read in structs #3

Open ejlilley opened 9 years ago

ejlilley commented 9 years ago

My HDF5 tables have elements which consist of structs of doubles. It would be nice to be able to have NativeType instances for arbitrary C structs. However, given that I know for certain that my structs are a certain length (e.g. 8 bits), it would be nice to at least be able to read the data in to (e.g.) a Word8 (or at least some other type that can live inside a Vector).