Hi,

Currently the HDF5 FAQ says about bitfields ...
    How are these stored then? Any sort of padding or what?
    We currently do not pack them, so a 13-bit field in a 32-bit
    datatype still takes up 4 bytes of space. This is not ideal, but
    it is a fairly complicated problem to pack the bits on disk (in
    light of using bitfields in compound, array and variable-length
    datatypes mostly). Eventually we should fix this. 

Is there any plan to implement packed bit fields in the near
future?

Thanks,

Steve


-- 
Steve Sullivan   [email protected]     303-497-2823

FL/2, Research Applications Laboratory
National Center for Atmospheric Research
PO Box 3000
Boulder CO  80307
USA


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

Reply via email to