Hi Daniel,

It turns out I just didn't fully understand the n-bit types and filters
yet. The bit types always store in bytes in but then the filter will pack
things further on read/write. So I got what I wanted working with bytes in
memory but bits on disk for bool data sets. Thanks again for your
suggestions.

David

On Sat, Feb 13, 2016 at 2:35 PM, David <[email protected]> wrote:

> Daniel.
>
> It looks like HDF5 data types are all sized in bytes. So while you can
> define a 1 bit type it is always stored as a byte. I guess I need to make
> my own packer.
>
> I will however use the N-bit stuff for another issue I have which is
> 24-bit data. Much more straight forward.
>
> David
>
> On Thu, Feb 11, 2016 at 8:39 AM, David <[email protected]> wrote:
>
>> That looks perfect. Thank you so much. Do you know what is the purpose of
>> the H5T_NATIVE_Bxx types?
>>
>
>
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to