Friday, 23 August 2013

__le32 equivalent for 24 bits structure

__le32 equivalent for 24 bits structure

Linux identifies little endian 32 bit types here types.h. I've to write an
on-disk data structure as a C struct but one of the attribute is 24 bits.
How do I represent it on the same lines?
Linux has __le32 and __le64, but nothing else for some other size.

No comments:

Post a Comment